Gazebo logo

ShaderProgram Class Reference

#include <ShaderProgram.hh>

List of all members.

Public Types

enum  ShaderProgramType { VERTEX, FRAGMENT }

Public Member Functions

 ShaderProgram (ShaderProgramType type)
virtual ~ShaderProgram ()
bool LoadFromFile (const char *filename)
bool LoadFromMemory (const char *program)
char * GetCompilerLog ()
GLhandleARB GetProgramObject ()
bool IsCompiled ()


Member Enumeration Documentation

enum ShaderProgram::ShaderProgramType
 

Enumerator:
VERTEX 
FRAGMENT 


Constructor & Destructor Documentation

ShaderProgram::ShaderProgram ShaderProgramType  type  ) 
 

ShaderProgram::~ShaderProgram  )  [virtual]
 


Member Function Documentation

bool ShaderProgram::LoadFromFile const char *  filename  ) 
 

bool ShaderProgram::LoadFromMemory const char *  program  ) 
 

char * ShaderProgram::GetCompilerLog  ) 
 

GLhandleARB ShaderProgram::GetProgramObject  )  [inline]
 

bool ShaderProgram::IsCompiled  ) 
 


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

Last updated 12 September 2005 21:38:45