ComputerGraphik TU WIEN
Public Member Functions | Private Attributes | List of all members
Shader::ShaderObj Class Reference

Helper class to manage one Shader object file in RAII style. More...

Public Member Functions

 ShaderObj (const std::vector< char > &shaderSrc, GLenum shaderType)
 
 ~ShaderObj ()
 
GLuint getShaderID ()
 

Private Attributes

GLuint shaderID
 

Detailed Description

Helper class to manage one Shader object file in RAII style.

Constructor & Destructor Documentation

Shader::ShaderObj::ShaderObj ( const std::vector< char > &  shaderSrc,
GLenum  shaderType 
)
inline
Shader::ShaderObj::~ShaderObj ( )
inline

Member Function Documentation

GLuint Shader::ShaderObj::getShaderID ( )
inline

Member Data Documentation

GLuint Shader::ShaderObj::shaderID
private

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