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

#include <Shader.h>

Inheritance diagram for Shaders::CVertexShader:
Shaders::CShader Shaders::CGLSLVertexShader

Public Member Functions

 CVertexShader ()=default
 
 ~CVertexShader () 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_vertexShader = 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

◆ CVertexShader()

Shaders::CVertexShader::CVertexShader ( )
default

◆ ~CVertexShader()

Shaders::CVertexShader::~CVertexShader ( )
inlineoverride

Member Function Documentation

◆ Free()

void Shaders::CVertexShader::Free ( )
inlineoverridevirtual

Implements Shaders::CShader.

◆ Handle()

GLuint Shaders::CVertexShader::Handle ( )
inlineoverridevirtual

Implements Shaders::CShader.

Member Data Documentation

◆ m_vertexShader

GLuint Shaders::CVertexShader::m_vertexShader = 0
protected

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