Class: kodi::gui::gl::CShaderProgram child functions
Functions that are added by parent in the child
◆ OnCompiledAndLinked()
virtual void OnCompiledAndLinked |
( |
| ) |
|
|
inlinevirtual |
Mandatory child function to set the necessary CPU to GPU data.
◆ OnEnabled()
virtual bool OnEnabled |
( |
| ) |
|
|
inlinevirtual |
Optional function to exchange data between CPU and GPU while activating the shader.
- Returns
- true if enable was successfully done
◆ OnDisabled()
virtual void OnDisabled |
( |
| ) |
|
|
inlinevirtual |
Optional child function that may have to be performed when switching off the shader.