Public Member Functions | Friends

sp::video::OpenGLShaderClass Class Reference

#include <spOpenGLShaderClass.hpp>

Inheritance diagram for sp::video::OpenGLShaderClass:
sp::video::ShaderClass sp::BaseObject

List of all members.

Public Member Functions

 OpenGLShaderClass (VertexFormat *VertexInputLayout=0)
 ~OpenGLShaderClass ()
void bind (const scene::MaterialNode *Object=0)
void unbind ()
 Unbinds the table with its shaders.
bool link ()


class OpenGLShader
class OpenGLConstantBuffer
class GLProgrammableFunctionPipeline

Constructor & Destructor Documentation

sp::video::OpenGLShaderClass::OpenGLShaderClass ( VertexFormat VertexInputLayout = 0  ) 
sp::video::OpenGLShaderClass::~OpenGLShaderClass (  ) 

Member Function Documentation

void sp::video::OpenGLShaderClass::bind ( const scene::MaterialNode Object = 0  )  [virtual]

Binds the table with its shaders.

Object,: Pointer to a MaterialNode object which shall be used for the shader callback if set.

Implements sp::video::ShaderClass.

bool sp::video::OpenGLShaderClass::link (  )  [virtual]

Links the program with all its shaders.

Rename this to "compile"

Implements sp::video::ShaderClass.

void sp::video::OpenGLShaderClass::unbind (  )  [virtual]

Unbinds the table with its shaders.

Implements sp::video::ShaderClass.

Friends And Related Function Documentation

friend class GLProgrammableFunctionPipeline [friend]
friend class OpenGLConstantBuffer [friend]
friend class OpenGLShader [friend]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines