FlowVis::ShaderProgram Class Reference

#include <Shader.h>

List of all members.

Public Types

typedef Shader< GL_FRAGMENT_SHADER > FragmentShader
typedef Shader< GL_VERTEX_SHADER > VertexShader

Public Member Functions

 ShaderProgram ()
 ~ShaderProgram ()
bool addFragmentShader (const std::wstring &strSourceFile)
bool addVertexShader (const std::wstring &strSourceFile)
bool removeShader (const std::wstring &strSourceFile)
void link ()
 operator GLuint ()
 operator const GLuint () const

Protected Member Functions

template<class SHADER>
bool addShader (const std::wstring &strSourceFile)

Protected Attributes

const GLuint nID
std::map< std::wstring, _Shader * > mShaders

Classes

class  _Shader
class  Shader


Member Typedef Documentation

typedef Shader<GL_FRAGMENT_SHADER> FlowVis::ShaderProgram::FragmentShader

typedef Shader<GL_VERTEX_SHADER> FlowVis::ShaderProgram::VertexShader


Constructor & Destructor Documentation

FlowVis::ShaderProgram::ShaderProgram (  )  [inline]

FlowVis::ShaderProgram::~ShaderProgram (  ) 


Member Function Documentation

template<class SHADER>
bool FlowVis::ShaderProgram::addShader ( const std::wstring &  strSourceFile  )  [inline, protected]

bool FlowVis::ShaderProgram::addFragmentShader ( const std::wstring &  strSourceFile  )  [inline]

bool FlowVis::ShaderProgram::addVertexShader ( const std::wstring &  strSourceFile  )  [inline]

bool FlowVis::ShaderProgram::removeShader ( const std::wstring &  strSourceFile  ) 

void FlowVis::ShaderProgram::link (  ) 

FlowVis::ShaderProgram::operator GLuint (  )  [inline]

FlowVis::ShaderProgram::operator const GLuint (  )  const [inline]


Member Data Documentation

const GLuint FlowVis::ShaderProgram::nID [protected]

std::map<std::wstring, _Shader *> FlowVis::ShaderProgram::mShaders [protected]


The documentation for this class was generated from the following files:
Generated on Wed Jan 17 13:07:38 2007 for FlowVis by  doxygen 1.5.1-p1