Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
kodi::gui::gl::CPixelShader Class Reference

CPixelShader. More...

#include <Shader.h>

Inheritance diagram for kodi::gui::gl::CPixelShader:
kodi::gui::gl::CShader

Public Member Functions

 CPixelShader ()=default
 
 ~CPixelShader ()
 
void Free () override
 
bool Compile (const std::string &extraBegin="", const std::string &extraEnd="") override
 
GLuint Handle () override
 
- Public Member Functions inherited from kodi::gui::gl::CShader
 CShader ()=default
 
virtual ~CShader ()=default
 
bool LoadSource (const std::string &file)
 
bool OK () const
 

Protected Attributes

GLuint m_pixelShader = 0
 
- Protected Attributes inherited from kodi::gui::gl::CShader
std::string m_source
 
std::string m_lastLog
 
bool m_compiled = false
 

Detailed Description

Constructor & Destructor Documentation

◆ CPixelShader()

kodi::gui::gl::CPixelShader::CPixelShader ( )
default

◆ ~CPixelShader()

kodi::gui::gl::CPixelShader::~CPixelShader ( )
inline

Member Function Documentation

◆ Compile()

bool kodi::gui::gl::CPixelShader::Compile ( const std::string & extraBegin = "",
const std::string & extraEnd = "" )
inlineoverridevirtual

◆ Free()

void kodi::gui::gl::CPixelShader::Free ( )
inlineoverridevirtual

◆ Handle()

GLuint kodi::gui::gl::CPixelShader::Handle ( )
inlineoverridevirtual

Member Data Documentation

◆ m_pixelShader

GLuint kodi::gui::gl::CPixelShader::m_pixelShader = 0
protected

The documentation for this class was generated from the following file: