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

#include <Shader.h>

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

Public Member Functions

void Free () override
 
bool Compile () override
 
- Public Member Functions inherited from Shaders::CPixelShader
 CPixelShader ()=default
 
 ~CPixelShader () override
 
void Free () override
 
GLuint Handle () override
 
- Public Member Functions inherited from Shaders::CShader
 CShader ()=default
 
virtual ~CShader ()=default
 
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
 

Additional Inherited Members

- Protected Attributes inherited from Shaders::CPixelShader
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
 

Member Function Documentation

◆ Compile()

bool CGLSLPixelShader::Compile ( )
overridevirtual

Implements Shaders::CShader.

◆ Free()

void CGLSLPixelShader::Free ( )
overridevirtual

Implements Shaders::CShader.


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