Guiliani  Version 2.6 revision 7293 (documentation build 12)
CGfxWrapGLShader Class Reference

class to load and use an OpenGL-shader More...

#include <GfxWrapGL.h>

Public Member Functions

 CGfxWrapGLShader ()
 Constructor.
 
 ~CGfxWrapGLShader ()
 Destructor.
 
void Activate () const
 
eC_UInt GetShaderID () const
 
eC_Bool Load (const char *cVertexShader, const char *cFragmentShader)
 

Detailed Description

class to load and use an OpenGL-shader

Member Function Documentation

◆ Activate()

void CGfxWrapGLShader::Activate ( ) const

Use shader

◆ GetShaderID()

eC_UInt CGfxWrapGLShader::GetShaderID ( ) const
inline

Return shader-id

Returns
id

◆ Load()

eC_Bool CGfxWrapGLShader::Load ( const char *  cVertexShader,
const char *  cFragmentShader 
)

Load a shader

Parameters
cVertexShader
cFragmentShader
Returns
true if successfully loaded

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