Shader Class Reference

#include <Shader.h>

Inheritance diagram for Shader:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 Shader ()
virtual ~Shader ()
virtual void render (Object &obj, int stage=SHADER_STAGE_NULL)=0
void bind (std::set< Light * > *lights_in)
void shadowAlpha (float shadow_alpha_in)
float shadowAlpha ()

Public Attributes

std::set< Light * > * lights
float * shadowModelMatrix
float shadow_alpha


Constructor & Destructor Documentation

Shader::Shader (  ) 

virtual Shader::~Shader (  )  [inline, virtual]


Member Function Documentation

virtual void Shader::render ( Object obj,
int  stage = SHADER_STAGE_NULL 
) [pure virtual]

void Shader::bind ( std::set< Light * > *  lights_in  )  [inline]

Reimplemented in ObjectShader.

void Shader::shadowAlpha ( float  shadow_alpha_in  ) 

float Shader::shadowAlpha (  ) 


Member Data Documentation

std::set<Light *>* Shader::lights


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

Generated on Thu Mar 19 19:35:50 2009 for CubicVR by  doxygen 1.5.6