Early z rejection shader.
More...
#include <tdme/engine/subsystems/earlyzrejection/EZRShader.h>
Early z rejection shader.
- Author
- Andreas Drewke
- Version
- $Id$
Definition at line 27 of file EZRShader.h.
◆ EZRShader()
◆ ~EZRShader()
◆ bindTexture()
void bindTexture |
( |
int |
contextIdx, |
|
|
int32_t |
textureId |
|
) |
| |
Bind texture.
- Parameters
-
renderer | renderer |
contextIdx | context index |
textureId | texture id |
Definition at line 99 of file EZRShader.cpp.
◆ initialize()
◆ isInitialized()
- Returns
- if initialized and ready to use
Definition at line 43 of file EZRShader.cpp.
◆ setShader()
void setShader |
( |
int |
contextIdx, |
|
|
const string & |
id |
|
) |
| |
◆ unUseProgram()
Unuse EZR render shader program.
Definition at line 65 of file EZRShader.cpp.
◆ updateMaterial()
void updateMaterial |
( |
int |
contextIdx | ) |
|
Update material.
- Parameters
-
renderer | renderer |
contextIdx | context index |
Definition at line 92 of file EZRShader.cpp.
◆ updateMatrices()
void updateMatrices |
( |
int |
contextIdx | ) |
|
Update program matrices.
- Parameters
-
renderer | renderer |
contextIdx | context index |
Definition at line 79 of file EZRShader.cpp.
◆ updateShaderParameters()
void updateShaderParameters |
( |
int |
contextIdx | ) |
|
Update shader parameters.
- Parameters
-
Definition at line 106 of file EZRShader.cpp.
◆ updateTextureMatrix()
void updateTextureMatrix |
( |
int |
contextIdx | ) |
|
Set up program texture matrix.
- Parameters
-
contextIdx | context index |
renderer | renderer |
Definition at line 86 of file EZRShader.cpp.
◆ useProgram()
void useProgram |
( |
Engine * |
engine | ) |
|
Use EZR render shader program.
- Parameters
-
Definition at line 59 of file EZRShader.cpp.
◆ contexts
◆ engine
◆ renderer
◆ running
◆ shader
The documentation for this class was generated from the following files:
- /home/andreas/Development/drewke.net/tdme2/src/tdme/engine/subsystems/earlyzrejection/EZRShader.h
- /home/andreas/Development/drewke.net/tdme2/src/tdme/engine/subsystems/earlyzrejection/EZRShader.cpp