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

#include <Shader.h>

Inheritance diagram for Shaders::CPixelShader:
Shaders::CShader Shaders::CGLSLPixelShader

Public Member Functions

 CPixelShader ()=default
 
 ~CPixelShader () override
 
void Free () override
 
GLuint Handle () override
 
- Public Member Functions inherited from Shaders::CShader
 CShader ()=default
 
virtual ~CShader ()=default
 
virtual bool Compile ()=0
 
virtual void SetSource (const std::string &src)
 
virtual bool LoadSource (const std::string &filename, const std::string &prefix="")
 
virtual bool AppendSource (const std::string &filename)
 
virtual bool InsertSource (const std::string &filename, const std::string &loc)
 
bool OK () const
 
std::string GetName () const
 
std::string GetSourceWithLineNumbers () const
 

Protected Attributes

GLuint m_pixelShader = 0
 
- Protected Attributes inherited from Shaders::CShader
std::string m_source
 
std::string m_lastLog
 
std::vector< std::string > m_attr
 
bool m_compiled = false
 

Constructor & Destructor Documentation

◆ CPixelShader()

Shaders::CPixelShader::CPixelShader ( )
default

◆ ~CPixelShader()

Shaders::CPixelShader::~CPixelShader ( )
inlineoverride

Member Function Documentation

◆ Free()

void Shaders::CPixelShader::Free ( )
inlineoverridevirtual

Implements Shaders::CShader.

◆ Handle()

GLuint Shaders::CPixelShader::Handle ( )
inlineoverridevirtual

Implements Shaders::CShader.

Member Data Documentation

◆ m_pixelShader

GLuint Shaders::CPixelShader::m_pixelShader = 0
protected

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