OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Public Member Functions | Private Attributes | List of all members
ShaderTexture Class Reference

#include <Shader.h>

Public Member Functions

 ShaderTexture (int w=512, int h=512)
 
 ~ShaderTexture ()
 
void clear ()
 
void bind ()
 
int getTexture ()
 

Private Attributes

int width
 
int height
 
unsigned int framebuffer
 
unsigned int depth
 
int texture
 

Detailed Description

Definition at line 39 of file Shader.h.

Constructor & Destructor Documentation

ShaderTexture::ShaderTexture ( int  w = 512,
int  h = 512 
)

Definition at line 56 of file Shader.cpp.

ShaderTexture::~ShaderTexture ( )
FIXME:
free texture slot

Definition at line 77 of file Shader.cpp.

Member Function Documentation

void ShaderTexture::clear ( )

Definition at line 84 of file Shader.cpp.

void ShaderTexture::bind ( )

Definition at line 89 of file Shader.cpp.

int ShaderTexture::getTexture ( )
inline

Definition at line 46 of file Shader.h.

Member Data Documentation

int ShaderTexture::width
private

Definition at line 49 of file Shader.h.

int ShaderTexture::height
private

Definition at line 49 of file Shader.h.

unsigned int ShaderTexture::framebuffer
private

Definition at line 50 of file Shader.h.

unsigned int ShaderTexture::depth
private

Definition at line 50 of file Shader.h.

int ShaderTexture::texture
private

Definition at line 51 of file Shader.h.


The documentation for this class was generated from the following files: