Early z rejection shader base class.
More...
#include <tdme/engine/subsystems/earlyzrejection/EZRShaderBaseImplementation.h>
|
| EZRShaderBaseImplementation (Renderer *renderer) |
| Constructor. More...
|
|
| ~EZRShaderBaseImplementation () |
| Destructor. More...
|
|
virtual bool | isInitialized () override |
|
virtual void | initialize () override |
| Init EZR render shader program implementation. More...
|
|
virtual void | useProgram (Engine *engine, int contextIdx) override |
| Use EZR render shader program. More...
|
|
virtual void | unUseProgram (int contextIdx) override |
| Unuse EZR render shader program. More...
|
|
virtual void | updateMatrices (Renderer *renderer, int contextIdx) override |
| Update matrices. More...
|
|
virtual void | updateTextureMatrix (Renderer *renderer, int contextIdx) override |
| update texture matrix More...
|
|
virtual void | updateMaterial (Renderer *renderer, int contextIdx) override |
| Update material. More...
|
|
virtual void | updateShaderParameters (Renderer *renderer, int contextIdx) override=0 |
| Update shader parameters. More...
|
|
virtual void | bindTexture (Renderer *renderer, int contextIdx, int32_t textureId) override |
| Bind texture. More...
|
|
virtual | ~EZRShaderImplementation () |
| Destructor. More...
|
|
virtual const string | getId ()=0 |
|
virtual bool | isInitialized ()=0 |
|
virtual void | initialize ()=0 |
| Init EZR render shader program implementation. More...
|
|
virtual void | useProgram (Engine *engine, int contextIdx)=0 |
| Use EZR render shader program. More...
|
|
virtual void | unUseProgram (int contextIdx)=0 |
| Unuse EZR render shader program. More...
|
|
virtual void | updateMatrices (Renderer *renderer, int contextIdx)=0 |
| Update matrices. More...
|
|
virtual void | updateTextureMatrix (Renderer *renderer, int contextIdx)=0 |
| update texture matrix More...
|
|
virtual void | updateMaterial (Renderer *renderer, int contextIdx)=0 |
| Update material. More...
|
|
virtual void | updateShaderParameters (Renderer *renderer, int contextIdx)=0 |
| Update shader parameters. More...
|
|
virtual void | bindTexture (Renderer *renderer, int contextIdx, int32_t textureId)=0 |
| Bind texture. More...
|
|
Early z rejection shader base class.
- Author
- Andreas Drewke
- Version
- $Id$
Definition at line 20 of file EZRShaderBaseImplementation.h.
◆ EZRShaderBaseImplementation()
◆ ~EZRShaderBaseImplementation()
◆ bindTexture()
void bindTexture |
( |
Renderer * |
renderer, |
|
|
int |
contextIdx, |
|
|
int32_t |
textureId |
|
) |
| |
|
overridevirtual |
◆ initialize()
◆ isInitialized()
◆ unUseProgram()
void unUseProgram |
( |
int |
contextIdx | ) |
|
|
overridevirtual |
◆ updateMaterial()
void updateMaterial |
( |
Renderer * |
renderer, |
|
|
int |
contextIdx |
|
) |
| |
|
overridevirtual |
◆ updateMatrices()
void updateMatrices |
( |
Renderer * |
renderer, |
|
|
int |
contextIdx |
|
) |
| |
|
overridevirtual |
◆ updateShaderParameters()
void updateShaderParameters |
( |
Renderer * |
renderer, |
|
|
int |
contextIdx |
|
) |
| |
|
overridepure virtual |
◆ updateTextureMatrix()
void updateTextureMatrix |
( |
Renderer * |
renderer, |
|
|
int |
contextIdx |
|
) |
| |
|
overridevirtual |
◆ useProgram()
void useProgram |
( |
Engine * |
engine, |
|
|
int |
contextIdx |
|
) |
| |
|
overridevirtual |
◆ fragmentShaderId
int32_t fragmentShaderId {-1 } |
|
protected |
◆ geometryShaderId
int32_t geometryShaderId { -1 } |
|
protected |
◆ initialized
bool initialized { false } |
|
protected |
◆ programId
◆ renderer
◆ uniformCameraMatrix
int32_t uniformCameraMatrix { -1 } |
|
protected |
◆ uniformDiffuseTextureAvailable
int32_t uniformDiffuseTextureAvailable { -1 } |
|
protected |
◆ uniformDiffuseTextureMaskedTransparency
int32_t uniformDiffuseTextureMaskedTransparency { -1 } |
|
protected |
◆ uniformDiffuseTextureMaskedTransparencyThreshold
int32_t uniformDiffuseTextureMaskedTransparencyThreshold { -1 } |
|
protected |
◆ uniformDiffuseTextureUnit
int32_t uniformDiffuseTextureUnit { -1 } |
|
protected |
◆ uniformFrame
int32_t uniformFrame { -1 } |
|
protected |
◆ uniformMVPMatrix
int32_t uniformMVPMatrix { -1 } |
|
protected |
◆ uniformProjectionMatrix
int32_t uniformProjectionMatrix { -1 } |
|
protected |
◆ uniformTextureAtlasPixelDimension
int32_t uniformTextureAtlasPixelDimension { -1 } |
|
protected |
◆ uniformTextureAtlasSize
int32_t uniformTextureAtlasSize { -1 } |
|
protected |
◆ uniformTextureMatrix
int32_t uniformTextureMatrix { -1 } |
|
protected |
◆ vertexShaderId
int32_t vertexShaderId { -1 } |
|
protected |
The documentation for this class was generated from the following files: