Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

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

More...

Functions

virtual void kodi::gui::gl::CShaderProgram::OnCompiledAndLinked ()
 Mandatory child function to set the necessary CPU to GPU data.
 
virtual bool kodi::gui::gl::CShaderProgram::OnEnabled ()
 Optional function to exchange data between CPU and GPU while activating the shader.
 
virtual void kodi::gui::gl::CShaderProgram::OnDisabled ()
 Optional child function that may have to be performed when switching off the shader.
 

Detailed Description

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

Functions that are added by parent in the child

Function Documentation

◆ OnCompiledAndLinked()

virtual void kodi::gui::gl::CShaderProgram::OnCompiledAndLinked ( )
inlinevirtual

Mandatory child function to set the necessary CPU to GPU data.

◆ OnDisabled()

virtual void kodi::gui::gl::CShaderProgram::OnDisabled ( )
inlinevirtual

Optional child function that may have to be performed when switching off the shader.

◆ OnEnabled()

virtual bool kodi::gui::gl::CShaderProgram::OnEnabled ( )
inlinevirtual

Optional function to exchange data between CPU and GPU while activating the shader.

Returns
true if enable was successfully done