View2DShader Class Reference
base class for hardware shaders that can be used on a
View2DTexture
More...
#include <View2DShader.h>
List of all members.
Detailed Description
base class for hardware shaders that can be used on a
View2DTexture
Definition at line 34 of file View2DShader.h.
Constructor & Destructor Documentation
| View2DShader::View2DShader |
( |
|
) |
|
| virtual View2DShader::~View2DShader |
( |
|
) |
[virtual] |
Member Function Documentation
| virtual void View2DShader::bind |
( |
View2DTexture * |
texture, |
|
|
int |
tw, |
|
|
int |
th | |
|
) |
| | [pure virtual] |
binds/activates the shader, tw and th give the "poweroftwo" size of current subtexture that is rendered
Implemented in View2DShaderARB, and View2DShaderGLSL.
| virtual void View2DShader::destroy |
( |
|
) |
[pure virtual] |
| virtual void View2DShader::getRequiredTextureLayout |
( |
View2DTexture * |
texture, |
|
|
GLuint & |
format, |
|
|
GLuint & |
internalFormat, |
|
|
GLuint & |
transferDataType | |
|
) |
| | [virtual] |
returns the required texture layout that a GL texture must use, as GL_format enums and datatypes
| void View2DShader::invalidateLut |
( |
|
) |
[inline] |
| virtual const char* View2DShader::name |
( |
|
) |
[pure virtual] |
| virtual void View2DShader::unbind |
( |
|
) |
[pure virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: