Public Member Functions | Static Public Attributes | Protected Attributes | Friends

GLSLShader Class Reference

#include <GLSLShader.h>

Inheritance diagram for GLSLShader:
Component Object

List of all members.

Public Member Functions

virtual const RTTIgetType () const
 GLSLShader (const string &path, const string &vertexShaderPath, const string &fragmentShaderPath)
void bindShader () const
GLuint getShaderProgramId () const

Static Public Attributes

static const RTTI TYPE

Protected Attributes

GLuint vs_object
GLuint fs_object
GLuint prog_object
std::string ressourceName

Friends

class boost::serialization::access

Detailed Description

A class encaplulation (very quickly) a GLSL shader, typicaly attached to a Material.


The documentation for this class was generated from the following files:
 All Classes Functions Variables