Public Member Functions

sp::video::Direct3D9ShaderClass Class Reference

#include <spDirect3D9ShaderClass.hpp>

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

List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

sp::video::Direct3D9ShaderClass::Direct3D9ShaderClass (  ) 
sp::video::Direct3D9ShaderClass::~Direct3D9ShaderClass (  ) 

Member Function Documentation

void sp::video::Direct3D9ShaderClass::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::Direct3D9ShaderClass::link (  )  [virtual]

Links the program with all its shaders.

Rename this to "compile"

Implements sp::video::ShaderClass.

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

Unbinds the table with its shaders.

Implements sp::video::ShaderClass.

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