Gazebo logo

ShaderObject Class Reference

#include <ShaderObject.hh>

List of all members.

Public Member Functions

 ShaderObject ()
virtual ~ShaderObject ()
void AddShaderProgram (ShaderProgram *program)
bool Link ()
char * GetLinkerLog ()
void Begin ()
void End ()
void EnableShader (bool b)
bool OGSLEnabled ()
bool SendUniform1f (char *var, GLfloat v0)
bool SendUniform2f (char *var, GLfloat v0, GLfloat v1)
bool SendUniform3f (char *var, GLfloat v0, GLfloat v1, GLfloat v2)
bool SendUniform4f (char *var, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
bool SendUniform1i (char *var, GLint v0)
bool SendUniform2i (char *var, GLint v0, GLint v1)
bool SendUniform3i (char *var, GLint v0, GLint v1, GLint v2)
bool SendUniform4i (char *var, GLint v0, GLint v1, GLint v2, GLint v3)
bool SendUniform1fv (char *var, GLsizei count, GLfloat *value)
bool SendUniform2fv (char *var, GLsizei count, GLfloat *value)
bool SendUniform3fv (char *var, GLsizei count, GLfloat *value)
bool SendUniform4fv (char *var, GLsizei count, GLfloat *value)
bool SendUniform1fi (char *var, GLsizei count, GLint *value)
bool SendUniform2fi (char *var, GLsizei count, GLint *value)
bool SendUniform3fi (char *var, GLsizei count, GLint *value)
bool SendUniform4fi (char *var, GLsizei count, GLint *value)
bool SendUniformMatrix2fv (char *var, GLsizei count, GLboolean transpose, GLfloat *value)
bool SendUniformMatrix3fv (char *var, GLsizei count, GLboolean transpose, GLfloat *value)
bool SendUniformMatrix4fv (char *var, GLsizei count, GLboolean transpose, GLfloat *value)
void GetUniformfv (char *name, GLfloat *values)
void GetUniformiv (char *name, GLint *values)
bool IsLinked ()


Constructor & Destructor Documentation

ShaderObject::ShaderObject  ) 
 

ShaderObject::~ShaderObject  )  [virtual]
 


Member Function Documentation

void ShaderObject::AddShaderProgram ShaderProgram program  ) 
 

bool ShaderObject::Link  ) 
 

char * ShaderObject::GetLinkerLog  ) 
 

void ShaderObject::Begin  ) 
 

void ShaderObject::End  ) 
 

void ShaderObject::EnableShader bool  b  ) 
 

bool ShaderObject::OGSLEnabled  ) 
 

bool ShaderObject::SendUniform1f char *  var,
GLfloat  v0
 

bool ShaderObject::SendUniform2f char *  var,
GLfloat  v0,
GLfloat  v1
 

bool ShaderObject::SendUniform3f char *  var,
GLfloat  v0,
GLfloat  v1,
GLfloat  v2
 

bool ShaderObject::SendUniform4f char *  var,
GLfloat  v0,
GLfloat  v1,
GLfloat  v2,
GLfloat  v3
 

bool ShaderObject::SendUniform1i char *  var,
GLint  v0
 

bool ShaderObject::SendUniform2i char *  var,
GLint  v0,
GLint  v1
 

bool ShaderObject::SendUniform3i char *  var,
GLint  v0,
GLint  v1,
GLint  v2
 

bool ShaderObject::SendUniform4i char *  var,
GLint  v0,
GLint  v1,
GLint  v2,
GLint  v3
 

bool ShaderObject::SendUniform1fv char *  var,
GLsizei  count,
GLfloat *  value
 

bool ShaderObject::SendUniform2fv char *  var,
GLsizei  count,
GLfloat *  value
 

bool ShaderObject::SendUniform3fv char *  var,
GLsizei  count,
GLfloat *  value
 

bool ShaderObject::SendUniform4fv char *  var,
GLsizei  count,
GLfloat *  value
 

bool ShaderObject::SendUniform1fi char *  var,
GLsizei  count,
GLint *  value
 

bool ShaderObject::SendUniform2fi char *  var,
GLsizei  count,
GLint *  value
 

bool ShaderObject::SendUniform3fi char *  var,
GLsizei  count,
GLint *  value
 

bool ShaderObject::SendUniform4fi char *  var,
GLsizei  count,
GLint *  value
 

bool ShaderObject::SendUniformMatrix2fv char *  var,
GLsizei  count,
GLboolean  transpose,
GLfloat *  value
 

bool ShaderObject::SendUniformMatrix3fv char *  var,
GLsizei  count,
GLboolean  transpose,
GLfloat *  value
 

bool ShaderObject::SendUniformMatrix4fv char *  var,
GLsizei  count,
GLboolean  transpose,
GLfloat *  value
 

void ShaderObject::GetUniformfv char *  name,
GLfloat *  values
 

void ShaderObject::GetUniformiv char *  name,
GLint *  values
 

bool ShaderObject::IsLinked  ) 
 


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

Last updated 12 September 2005 21:38:45