![]() |
Skylicht Engine
|
Public Member Functions | |
| virtual void | OnSetConstants (CShader *shader, SUniform *uniform, IMaterialRenderer *matRender, bool vertexShader) |
| Called to set uniform constants for the shader. | |
Static Public Member Functions | |
| static void | setViewUp (const core::vector3df &up) |
| static void | setViewLook (const core::vector3df &look) |
| static void | setOrientationUp (const core::vector3df &up) |
| static void | setOrientationNormal (const core::vector3df &normal) |
| static core::vector3df | getViewUp () |
| static core::vector3df | getViewLook () |
|
virtual |
Called to set uniform constants for the shader.
| shader | Pointer to the CShader instance. |
| uniform | Pointer to the uniform being set. |
| matRender | Material renderer. |
| vertexShader | True if setting vertex shader constants, false for pixel shader. |
Implements Skylicht::IShaderCallback.