UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::graphic::ShaderProgram Class Reference

#include <ugdk/graphic/shaderprogram.h>

Public Member Functions

 ShaderProgram ()
 
 ~ShaderProgram ()
 
GLuint id () const
 
GLuint UniformLocation (const std::string &name) const
 
bool IsValid () const
 
void AttachShader (const Shader &shader)
 
bool SetupProgram ()
 
void Validate ()
 

Friends

class Canvas
 
class ShaderUse
 

Constructor & Destructor Documentation

ugdk::graphic::ShaderProgram::ShaderProgram ( )
ugdk::graphic::ShaderProgram::~ShaderProgram ( )

Member Function Documentation

void ugdk::graphic::ShaderProgram::AttachShader ( const Shader shader)
GLuint ugdk::graphic::ShaderProgram::id ( ) const
inline
bool ugdk::graphic::ShaderProgram::IsValid ( ) const
bool ugdk::graphic::ShaderProgram::SetupProgram ( )
GLuint ugdk::graphic::ShaderProgram::UniformLocation ( const std::string &  name) const
void ugdk::graphic::ShaderProgram::Validate ( )

Friends And Related Function Documentation

friend class Canvas
friend
friend class ShaderUse
friend

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