Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches

Detailed Description

Class: kodi::gui::gl::CShaderProgram child functions

Functions that are added by parent in the child

Function Documentation

◆ 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.