VEE_GlSlDriver Class Reference

A GLSL shader "driver". More...

#include <vee_gl_sl_renderer.h>

List of all members.

Public Member Functions

Static Public Member Functions

Protected Attributes


Detailed Description

A GLSL shader "driver".

Each instance of VEE_GlSlDriver holds GLSL vertex and/or fragment shaders plus the linked program.

Author:
Tommi Ilmonen


Constructor & Destructor Documentation

VEE_GlSlDriver::VEE_GlSlDriver  ) 
 

VEE_GlSlDriver::~VEE_GlSlDriver  )  [virtual]
 


Member Function Documentation

bool VEE_GlSlDriver::loadShadersFromFile const char *  fileNameBase  )  [virtual]
 

void VEE_GlSlDriver::deleteShaders  )  [virtual]
 

bool VEE_GlSlDriver::bindProgram VEE_GlSlRenderer  )  [virtual]
 

void VEE_GlSlDriver::renderParticle VEE_Particle p,
VEE_GlSlRenderer r
[virtual]
 

Issues the commands that will render a particle using quads.

All relevant texture modes, rendering modes etc. are assumed to be already on.

You can override this method in your own classes to handle the rendering in some other way.

std::string VEE_GlSlDriver::infoLog GLhandleARB   )  [static]
 


Member Data Documentation

int VEE_GlSlDriver::m_params[VEE_SLP_SIZEOF] [protected]
 

GLhandleARB VEE_GlSlDriver::m_vertexShader [protected]
 

GLhandleARB VEE_GlSlDriver::m_fragmentShader [protected]
 

GLhandleARB VEE_GlSlDriver::m_program [protected]
 

Links fragment and vertex shaders.

std::string VEE_GlSlDriver::m_programName [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Mar 12 21:09:23 2007 for VEE - The Visual Effects Engine by  doxygen 1.4.6