34 virtual const string getId() = 0;
Matrix4x4 class representing matrix4x4 mathematical structure and operations for 3d space.
Lighting shader constants.
Lighting shader implementation interface.
virtual void updateEffect(Renderer *renderer, int contextIdx)=0
Update effect to program.
virtual void loadTextures(const string &pathName)=0
Load textures.
virtual void updateTextureMatrix(Renderer *renderer, int contextIdx)=0
Update texture matrix to program.
virtual void unUseProgram(int contextIdx)=0
Unuse lighting program.
virtual bool isInitialized()=0
virtual void updateShaderParameters(Renderer *renderer, int contextIdx)=0
Update shader parameters.
virtual void updateLight(Renderer *renderer, int contextIdx, int32_t lightId)=0
Update light to program.
virtual void bindTexture(Renderer *renderer, int contextIdx, int32_t textureId)=0
Bind texture.
virtual void initialize()=0
Initialize renderer.
virtual const string getId()=0
virtual void useProgram(Engine *engine, int contextIdx)=0
Use lighting program.
virtual void updateMaterial(Renderer *renderer, int contextIdx)=0
Update material to program.
virtual ~LightingShaderImplementation()
Destructor.
virtual void unloadTextures()=0
Unload textures.
virtual void updateMatrices(Renderer *renderer, int contextIdx)=0
Update matrices to program.
virtual void registerShader()=0
Register shader.