Early z rejection shader base class.
int32_t uniformTextureAtlasSize
virtual void updateTextureMatrix(Renderer *renderer, int contextIdx) override
update texture matrix
virtual void updateMaterial(Renderer *renderer, int contextIdx) override
Update material.
virtual void updateMatrices(Renderer *renderer, int contextIdx) override
Update matrices.
~EZRShaderBaseImplementation()
Destructor.
virtual void initialize() override
Init EZR render shader program implementation.
int32_t uniformDiffuseTextureMaskedTransparencyThreshold
virtual bool isInitialized() override
int32_t uniformProjectionMatrix
virtual void bindTexture(Renderer *renderer, int contextIdx, int32_t textureId) override
Bind texture.
int32_t uniformCameraMatrix
virtual void unUseProgram(int contextIdx) override
Unuse EZR render shader program.
virtual void useProgram(Engine *engine, int contextIdx) override
Use EZR render shader program.
virtual void updateShaderParameters(Renderer *renderer, int contextIdx) override=0
Update shader parameters.
int32_t uniformDiffuseTextureUnit
int32_t uniformDiffuseTextureMaskedTransparency
EZRShaderBaseImplementation(Renderer *renderer)
Constructor.
int32_t uniformDiffuseTextureAvailable
int32_t uniformTextureAtlasPixelDimension
int32_t uniformTextureMatrix
Early z rejection shader implementation.