DDraceNetwork Docs
CGLSL Class Reference

#include <opengl_sl.h>

Public Member Functions

bool LoadShader (CGLSLCompiler *pCompiler, class IStorage *pStorage, const char *pFile, int Type)
 
void DeleteShader ()
 
bool IsLoaded () const
 
TWGLuint GetShaderId () const
 
 CGLSL ()
 
virtual ~CGLSL ()
 

Private Attributes

TWGLuint m_ShaderId
 
int m_Type
 
bool m_IsLoaded
 

Constructor & Destructor Documentation

◆ CGLSL()

CGLSL::CGLSL ( )

◆ ~CGLSL()

CGLSL::~CGLSL ( )
virtual

Member Function Documentation

◆ DeleteShader()

void CGLSL::DeleteShader ( )

◆ GetShaderId()

TWGLuint CGLSL::GetShaderId ( ) const

◆ IsLoaded()

bool CGLSL::IsLoaded ( ) const

◆ LoadShader()

bool CGLSL::LoadShader ( CGLSLCompiler pCompiler,
class IStorage pStorage,
const char *  pFile,
int  Type 
)

Member Data Documentation

◆ m_IsLoaded

bool CGLSL::m_IsLoaded
private

◆ m_ShaderId

TWGLuint CGLSL::m_ShaderId
private

◆ m_Type

int CGLSL::m_Type
private

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