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

CVertexShader. More...

#include <Shader.h>

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

Public Member Functions

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

◆ CVertexShader()

kodi::gui::gl::CVertexShader::CVertexShader ( )
default

◆ ~CVertexShader()

kodi::gui::gl::CVertexShader::~CVertexShader ( )
inlineoverride

Member Function Documentation

◆ Compile()

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

◆ Free()

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

◆ Handle()

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

Member Data Documentation

◆ m_vertexShader

GLuint kodi::gui::gl::CVertexShader::m_vertexShader = 0
protected

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