Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

Renderer Class Reference

#include <Renderer.h>

Inherited by OpenGLRenderer.

Inheritance diagram for Renderer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Renderer ()
virtual ~Renderer ()
void reset ()
void resetToDefaults ()
void apply ()
void lock (const unsigned int flag)
void unlock (const unsigned int flag)
virtual void setDefaults ()=0
TextureID addTexture (const char *filename, unsigned int flags=0)
TextureID addTexture (Image *image, unsigned int flags=0)
TextureID addCubemap (const char *fNegX, const char *fPosX, const char *fNegY, const char *fPosY, const char *fNegZ, const char *fPosZ)
TextureID addCubemap (Image *images[6])
void deleteTexture (const int i)
ShaderID addShader (const char *filename, const char *extraDefines=NULL)
void deleteShader (const int i)
virtual void changeShaderConstant1f (const char *name, const float constant)=0
virtual void changeShaderConstant2f (const char *name, const Vec2 &constant)=0
virtual void changeShaderConstant3f (const char *name, const Vec3 &constant)=0
virtual void changeShaderConstant4f (const char *name, const Vec4 &constant)=0
virtual void changeDepthFunc (const int depthFunc)=0
virtual void changeBlending (const sFactor, const dFactor, const int blendMode=BLENDMODE_ADD)=0
virtual void changeMask (const int mask)=0
ShaderID addFragmentShader (unsigned int type, char *filename=NULL)
ShaderID addFragmentShader (unsigned int type, unsigned int shaderID)
ShaderID addVertexShader (char *filename)
void deleteFragmentShader (const int index)
void deleteVertexShader (const int index)
virtual void changeFragmentShader (const ShaderID shader)=0
virtual void changeVertexShader (const ShaderID shader)=0
void setTexture (const char *name, const TextureID texID)
void setTextures (const TextureID t0)
void setTextures (const TextureID t0, const TextureID t1)
void setTextures (const TextureID t0, const TextureID t1, const TextureID t2)
void setTextures (const TextureID t0, const TextureID t1, const TextureID t2, const TextureID t3)
void setTextures (const TextureID t0, const TextureID t1, const TextureID t2, const TextureID t3, const TextureID t4)
void setTextures (const TextureID t0, const TextureID t1, const TextureID t2, const TextureID t3, const TextureID t4, const TextureID t5)
void setShader (const ShaderID shader)
void setDepthFunc (const int depthFunc)
void setBlending (const int src, const int dest, const int blendMode=BLENDMODE_ADD)
void setMask (const int mask)
void setFragmentShader (const ShaderID shader)
void setVertexShader (const ShaderID shader)

Public Attributes

unsigned int lockFlags

Protected Member Functions

TextureID insertTexture (Texture &texture)
virtual bool createTexture (Texture &texture)=0
virtual void removeTexture (Texture &texture)=0
virtual void changeTextureUnit (const int tex)=0
virtual void changeTexture (const TextureID textureID)=0
virtual void assignNamedTextures ()=0
ShaderID insertShader (Shader &shader)
virtual bool createShader (Shader &shader, const char *vertexShaderText, const char *fragmentShaderText)=0
virtual void removeShader (Shader &shader)=0
virtual void changeShader (const ShaderID shader)=0
ShaderID insertFragmentShader (FragmentShader &fragmentShader)
virtual void createFragmentShader (FragmentShader &fragmentShader)=0
virtual void removeFragmentShader (FragmentShader &fragmentShader)=0
virtual void uploadFragmentShader (FragmentShader &fragmentShader)=0
ShaderID insertVertexShader (VertexShader &vertexShader)
virtual void createVertexShader (VertexShader &vertexShader)=0
virtual void removeVertexShader (VertexShader &vertexShader)=0
virtual void uploadVertexShader (VertexShader &vertexShader)=0

Protected Attributes

Set< Texturetextures
int maxTextures
int currentTextureUnit
TextureID selectedTextures [MAX_TEXTURES]
TextureID currentTextures [MAX_TEXTURES]
const charselectedTextureNames [MAX_TEXTURES]
int nNamedTextures
Set< Shadershaders
ShaderID currentShader
ShaderID selectedShader
int selectedDepthFunc
int currentDepthFunc
int selectedBlendMode
int currentBlendMode
int selectedBlendSrc
int currentBlendSrc
int selectedBlendDest
int currentBlendDest
int selectedMask
int currentMask
Set< VertexShadervertexShaders
Set< FragmentShaderfragmentShaders
ShaderID selectedVertexShader
ShaderID currentVertexShader
ShaderID selectedFragmentShader
ShaderID currentFragmentShader

Detailed Description

Definition at line 118 of file Renderer.h.


Constructor & Destructor Documentation

Renderer::Renderer  ) 
 

Renderer.cpp

Author: Petter Alstermark, petter@alstermark.com

Definition at line 12 of file Renderer.cpp.

References lockFlags.

Renderer::~Renderer  )  [virtual]
 

Definition at line 19 of file Renderer.cpp.


Member Function Documentation

TextureID Renderer::addCubemap Image images[6]  ) 
 

Definition at line 165 of file Renderer.cpp.

References createTexture(), Texture::depth, Texture::format, Image::getFormat(), Image::getHeight(), Image::getWidth(), Texture::height, Texture::images, insertTexture(), LOG_ERROR, LOG_SUCCESS, TEXTURE_CUBEMAP, TEXTURE_NONE, Texture::textureKind, and Texture::width.

Here is the call graph for this function:

TextureID Renderer::addCubemap const char fNegX,
const char fPosX,
const char fNegY,
const char fPosY,
const char fNegZ,
const char fPosZ
 

Definition at line 141 of file Renderer.cpp.

References LOG_ERROR, and TEXTURE_NONE.

Referenced by Menu::load(), and Join::load().

ShaderID Renderer::addFragmentShader unsigned int  type,
unsigned int  shaderID
 

Definition at line 359 of file Renderer.cpp.

References insertFragmentShader(), FragmentShader::shaderID, and FragmentShader::type.

Here is the call graph for this function:

ShaderID Renderer::addFragmentShader unsigned int  type,
char filename = NULL
 

Definition at line 325 of file Renderer.cpp.

References createFragmentShader(), insertFragmentShader(), FragmentShader::length, LOG_SUCCESS, FragmentShader::program, SHADER_NONE, FragmentShader::type, and uploadFragmentShader().

Here is the call graph for this function:

ShaderID Renderer::addShader const char filename,
const char extraDefines = NULL
 

Definition at line 232 of file Renderer.cpp.

References createShader(), insertShader(), LOG_ERROR, LOG_SUCCESS, and SHADER_NONE.

Referenced by Menu::load().

Here is the call graph for this function:

TextureID Renderer::addTexture Image image,
unsigned int  flags = 0
 

Definition at line 113 of file Renderer.cpp.

References Texture::clampS, Texture::clampT, createTexture(), Texture::depth, Texture::format, Image::getFormat(), Image::getHeight(), Image::getWidth(), Texture::height, Texture::images, insertTexture(), TEXTURE_2D, TEXTURE_CLAMP_S, TEXTURE_CLAMP_T, TEXTURE_HEIGHTMAP, TEXTURE_NONE, TEXTURE_NORMALMAP, Texture::textureKind, Image::toGrayScale(), Image::toNormalMap(), and Texture::width.

Here is the call graph for this function:

TextureID Renderer::addTexture const char filename,
unsigned int  flags = 0
 

Definition at line 99 of file Renderer.cpp.

References Image::loadImage(), and TEXTURE_NONE.

Referenced by ObjLevel::load(), Menu::load(), Join::load(), Menu::loadMain(), Play::loadTextures(), MS_Material::reloadTexture(), Join::setGalaxy(), and Menu::setModel().

Here is the call graph for this function:

ShaderID Renderer::addVertexShader char filename  ) 
 

Definition at line 370 of file Renderer.cpp.

References createVertexShader(), insertVertexShader(), VertexShader::length, VertexShader::program, SHADER_NONE, and uploadVertexShader().

Here is the call graph for this function:

void Renderer::apply  ) 
 

Definition at line 39 of file Renderer.cpp.

References assignNamedTextures(), changeBlending(), changeDepthFunc(), changeMask(), changeShader(), changeTexture(), changeTextureUnit(), LF_SHADING, lockFlags, maxTextures, reset(), selectedBlendDest, selectedBlendMode, selectedBlendSrc, selectedDepthFunc, selectedMask, selectedShader, and selectedTextures.

Referenced by MS_Material::activate(), Explosion::drawAndUpdate(), Play::drawAvatar(), Menu::drawCreate(), Play::drawExplosions(), Play::drawExtras(), ObjLevel::drawFloor(), Play::drawFrame(), Menu::drawFrame(), Join::drawFrame(), Join::drawGalaxies(), Play::drawGrenades(), Menu::drawJoin(), Menu::drawLabel(), Join::drawLevels(), Play::drawLifebar(), Menu::drawMain(), Play::drawParticleSystems(), Play::drawPlayer(), Play::drawProjectiles(), Menu::drawQuad(), Join::drawQuad(), Menu::drawSelect(), Menu::drawSelection(), Menu::drawSettings(), Play::drawShadow(), ObjLevel::drawWalls(), ObjLevel::drawWater(), ObjLevel::drawWaterSurface(), and OpenGLFont::startTextMode().

Here is the call graph for this function:

virtual void Renderer::assignNamedTextures  )  [protected, pure virtual]
 

Implemented in OpenGLRenderer.

Referenced by apply().

virtual void Renderer::changeBlending const   sFactor,
const   dFactor,
const int  blendMode = BLENDMODE_ADD
[pure virtual]
 

Referenced by apply().

virtual void Renderer::changeDepthFunc const int  depthFunc  )  [pure virtual]
 

Implemented in OpenGLRenderer.

Referenced by apply().

virtual void Renderer::changeFragmentShader const ShaderID  shader  )  [pure virtual]
 

Implemented in OpenGLRenderer.

virtual void Renderer::changeMask const int  mask  )  [pure virtual]
 

Implemented in OpenGLRenderer.

Referenced by apply().

virtual void Renderer::changeShader const ShaderID  shader  )  [protected, pure virtual]
 

Implemented in OpenGLRenderer.

Referenced by apply().

virtual void Renderer::changeShaderConstant1f const char name,
const float  constant
[pure virtual]
 

Implemented in OpenGLRenderer.

virtual void Renderer::changeShaderConstant2f const char name,
const Vec2 constant
[pure virtual]
 

Implemented in OpenGLRenderer.

virtual void Renderer::changeShaderConstant3f const char name,
const Vec3 constant
[pure virtual]
 

Implemented in OpenGLRenderer.

virtual void Renderer::changeShaderConstant4f const char name,
const Vec4 constant
[pure virtual]
 

Implemented in OpenGLRenderer.

virtual void Renderer::changeTexture const TextureID  textureID  )  [protected, pure virtual]
 

Implemented in OpenGLRenderer.

Referenced by apply().

virtual void Renderer::changeTextureUnit const int  tex  )  [protected, pure virtual]
 

Implemented in OpenGLRenderer.

Referenced by apply().

virtual void Renderer::changeVertexShader const ShaderID  shader  )  [pure virtual]
 

Implemented in OpenGLRenderer.

virtual void Renderer::createFragmentShader FragmentShader fragmentShader  )  [protected, pure virtual]
 

Implemented in OpenGLRenderer.

Referenced by addFragmentShader().

virtual bool Renderer::createShader Shader shader,
const char vertexShaderText,
const char fragmentShaderText
[protected, pure virtual]
 

Implemented in OpenGLRenderer.

Referenced by addShader().

virtual bool Renderer::createTexture Texture texture  )  [protected, pure virtual]
 

Implemented in OpenGLRenderer.

Referenced by addCubemap(), and addTexture().

virtual void Renderer::createVertexShader VertexShader vertexShader  )  [protected, pure virtual]
 

Implemented in OpenGLRenderer.

Referenced by addVertexShader().

void Renderer::deleteFragmentShader const int  index  ) 
 

Definition at line 411 of file Renderer.cpp.

References fragmentShaders, removeFragmentShader(), and UNDEFINED.

Here is the call graph for this function:

void Renderer::deleteShader const int  i  ) 
 

Definition at line 314 of file Renderer.cpp.

References LOG_SUCCESS, removeShader(), shaders, and UNDEFINED.

Referenced by Menu::unload().

Here is the call graph for this function:

void Renderer::deleteTexture const int  i  ) 
 

Definition at line 207 of file Renderer.cpp.

References LOG_ERROR, LOG_SUCCESS, removeTexture(), TEXTURE_2D, TEXTURE_CUBEMAP, textures, and UNDEFINED.

Referenced by MS_Material::clear(), Play::unload(), Menu::unload(), Join::unload(), Join::unloadGalaxies(), Menu::unloadMain(), and ObjLevel::~ObjLevel().

Here is the call graph for this function:

void Renderer::deleteVertexShader const int  index  ) 
 

Definition at line 436 of file Renderer.cpp.

References removeVertexShader(), UNDEFINED, and vertexShaders.

Here is the call graph for this function:

ShaderID Renderer::insertFragmentShader FragmentShader fragmentShader  )  [protected]
 

Definition at line 396 of file Renderer.cpp.

References Set< TYPE >::add(), fragmentShaders, Set< TYPE >::getCount(), and UNDEFINED.

Referenced by addFragmentShader().

Here is the call graph for this function:

ShaderID Renderer::insertShader Shader shader  )  [protected]
 

Definition at line 299 of file Renderer.cpp.

References Set< TYPE >::add(), Set< TYPE >::getCount(), shaders, and UNDEFINED.

Referenced by addShader().

Here is the call graph for this function:

TextureID Renderer::insertTexture Texture texture  )  [protected]
 

Definition at line 188 of file Renderer.cpp.

References Set< TYPE >::add(), Image::clear(), Set< TYPE >::getCount(), Texture::images, textures, and UNDEFINED.

Referenced by addCubemap(), and addTexture().

Here is the call graph for this function:

ShaderID Renderer::insertVertexShader VertexShader vertexShader  )  [protected]
 

Definition at line 421 of file Renderer.cpp.

References Set< TYPE >::add(), Set< TYPE >::getCount(), UNDEFINED, and vertexShaders.

Referenced by addVertexShader().

Here is the call graph for this function:

void Renderer::lock const unsigned int  flag  ) 
 

Definition at line 25 of file Renderer.cpp.

References lockFlags.

Referenced by MainApp::load().

virtual void Renderer::removeFragmentShader FragmentShader fragmentShader  )  [protected, pure virtual]
 

Implemented in OpenGLRenderer.

Referenced by deleteFragmentShader().

virtual void Renderer::removeShader Shader shader  )  [protected, pure virtual]
 

Implemented in OpenGLRenderer.

Referenced by deleteShader().

virtual void Renderer::removeTexture Texture texture  )  [protected, pure virtual]
 

Implemented in OpenGLRenderer.

Referenced by deleteTexture().

virtual void Renderer::removeVertexShader VertexShader vertexShader  )  [protected, pure virtual]
 

Implemented in OpenGLRenderer.

Referenced by deleteVertexShader().

void Renderer::reset  ) 
 

Definition at line 80 of file Renderer.cpp.

References ALL, BLENDING_NONE, BLENDMODE_ADD, LEQUAL, maxTextures, nNamedTextures, selectedBlendDest, selectedBlendMode, selectedBlendSrc, selectedDepthFunc, selectedMask, selectedShader, selectedTextures, SHADER_NONE, and TEXTURE_NONE.

Referenced by apply(), and resetToDefaults().

void Renderer::resetToDefaults  ) 
 

Definition at line 59 of file Renderer.cpp.

References ALL, BLENDING_NONE, BLENDMODE_ADD, currentBlendDest, currentBlendMode, currentBlendSrc, currentDepthFunc, currentMask, currentShader, currentTextures, currentTextureUnit, LEQUAL, maxTextures, reset(), SHADER_NONE, and TEXTURE_NONE.

Referenced by OpenGLRenderer::init().

Here is the call graph for this function:

void Renderer::setBlending const int  src,
const int  dest,
const int  blendMode = BLENDMODE_ADD
[inline]
 

Definition at line 282 of file Renderer.h.

References selectedBlendDest, selectedBlendMode, and selectedBlendSrc.

Referenced by Explosion::drawAndUpdate(), Play::drawAvatar(), Menu::drawCreate(), Play::drawExplosions(), Play::drawExtras(), Play::drawFrame(), Menu::drawFrame(), Join::drawGalaxies(), Menu::drawJoin(), Menu::drawLabel(), Join::drawLevels(), Play::drawLifebar(), Menu::drawMain(), Play::drawParticleSystems(), Play::drawPlayer(), Menu::drawQuad(), Join::drawQuad(), Menu::drawSelect(), Menu::drawSelection(), Menu::drawSettings(), Play::drawShadow(), ObjLevel::drawWaterSurface(), and OpenGLFont::startTextMode().

virtual void Renderer::setDefaults  )  [pure virtual]
 

Implemented in OpenGLRenderer.

void Renderer::setDepthFunc const int  depthFunc  )  [inline]
 

Definition at line 277 of file Renderer.h.

References selectedDepthFunc.

Referenced by Explosion::drawAndUpdate(), Menu::drawCreate(), Play::drawExplosions(), Menu::drawFrame(), Join::drawFrame(), Join::drawGalaxies(), Menu::drawJoin(), Menu::drawMain(), Play::drawParticleSystems(), Play::drawPlayer(), Menu::drawSettings(), and OpenGLFont::startTextMode().

void Renderer::setFragmentShader const ShaderID  shader  )  [inline]
 

Definition at line 293 of file Renderer.h.

References selectedFragmentShader.

void Renderer::setMask const int  mask  )  [inline]
 

Definition at line 289 of file Renderer.h.

References selectedMask.

Referenced by Play::drawAvatar(), Menu::drawCreate(), Play::drawExplosions(), Play::drawExtras(), Play::drawFrame(), Menu::drawFrame(), Menu::drawJoin(), Menu::drawLabel(), Join::drawLevels(), Play::drawLifebar(), Menu::drawMain(), Play::drawParticleSystems(), Play::drawPlayer(), Menu::drawQuad(), Join::drawQuad(), Menu::drawSelect(), Menu::drawSelection(), Menu::drawSettings(), and Play::drawShadow().

void Renderer::setShader const ShaderID  shader  )  [inline]
 

Definition at line 272 of file Renderer.h.

References selectedShader.

void Renderer::setTexture const char name,
const TextureID  texID
[inline]
 

Definition at line 226 of file Renderer.h.

References nNamedTextures, selectedTextureNames, and selectedTextures.

void Renderer::setTextures const TextureID  t0,
const TextureID  t1,
const TextureID  t2,
const TextureID  t3,
const TextureID  t4,
const TextureID  t5
[inline]
 

Definition at line 262 of file Renderer.h.

References selectedTextures.

void Renderer::setTextures const TextureID  t0,
const TextureID  t1,
const TextureID  t2,
const TextureID  t3,
const TextureID  t4
[inline]
 

Definition at line 254 of file Renderer.h.

References selectedTextures.

void Renderer::setTextures const TextureID  t0,
const TextureID  t1,
const TextureID  t2,
const TextureID  t3
[inline]
 

Definition at line 247 of file Renderer.h.

References selectedTextures.

void Renderer::setTextures const TextureID  t0,
const TextureID  t1,
const TextureID  t2
[inline]
 

Definition at line 241 of file Renderer.h.

References selectedTextures.

void Renderer::setTextures const TextureID  t0,
const TextureID  t1
[inline]
 

Definition at line 236 of file Renderer.h.

References selectedTextures.

void Renderer::setTextures const TextureID  t0  )  [inline]
 

Definition at line 232 of file Renderer.h.

References selectedTextures.

Referenced by MS_Material::activate(), Play::drawAvatar(), Menu::drawCreate(), Play::drawExplosions(), Play::drawExtras(), ObjLevel::drawFloor(), Play::drawFrame(), Menu::drawFrame(), Join::drawFrame(), Join::drawGalaxies(), Play::drawGrenades(), Menu::drawJoin(), Menu::drawLabel(), Join::drawLevels(), Play::drawLifebar(), Menu::drawMain(), Play::drawParticleSystems(), Play::drawPlayer(), Play::drawProjectiles(), Menu::drawQuad(), Join::drawQuad(), Menu::drawSelect(), Menu::drawSelection(), Menu::drawSettings(), Play::drawShadow(), ObjLevel::drawWalls(), ObjLevel::drawWater(), and ObjLevel::drawWaterSurface().

void Renderer::setVertexShader const ShaderID  shader  )  [inline]
 

Definition at line 297 of file Renderer.h.

References selectedVertexShader.

void Renderer::unlock const unsigned int  flag  ) 
 

Definition at line 32 of file Renderer.cpp.

References lockFlags.

virtual void Renderer::uploadFragmentShader FragmentShader fragmentShader  )  [protected, pure virtual]
 

Implemented in OpenGLRenderer.

Referenced by addFragmentShader().

virtual void Renderer::uploadVertexShader VertexShader vertexShader  )  [protected, pure virtual]
 

Implemented in OpenGLRenderer.

Referenced by addVertexShader().


Member Data Documentation

int Renderer::currentBlendDest [protected]
 

Definition at line 213 of file Renderer.h.

Referenced by OpenGLRenderer::changeBlending(), and resetToDefaults().

int Renderer::currentBlendMode [protected]
 

Definition at line 211 of file Renderer.h.

Referenced by OpenGLRenderer::changeBlending(), and resetToDefaults().

int Renderer::currentBlendSrc [protected]
 

Definition at line 212 of file Renderer.h.

Referenced by OpenGLRenderer::changeBlending(), and resetToDefaults().

int Renderer::currentDepthFunc [protected]
 

Definition at line 210 of file Renderer.h.

Referenced by OpenGLRenderer::changeDepthFunc(), and resetToDefaults().

ShaderID Renderer::currentFragmentShader [protected]
 

Definition at line 220 of file Renderer.h.

Referenced by OpenGLRenderer::changeFragmentShader().

int Renderer::currentMask [protected]
 

Definition at line 214 of file Renderer.h.

Referenced by OpenGLRenderer::changeMask(), and resetToDefaults().

ShaderID Renderer::currentShader [protected]
 

Definition at line 207 of file Renderer.h.

Referenced by OpenGLRenderer::assignNamedTextures(), OpenGLRenderer::changeShader(), OpenGLRenderer::changeShaderConstant1f(), OpenGLRenderer::changeShaderConstant2f(), OpenGLRenderer::changeShaderConstant3f(), OpenGLRenderer::changeShaderConstant4f(), and resetToDefaults().

TextureID Renderer::currentTextures[MAX_TEXTURES] [protected]
 

Definition at line 201 of file Renderer.h.

Referenced by OpenGLRenderer::changeTexture(), and resetToDefaults().

int Renderer::currentTextureUnit [protected]
 

Definition at line 199 of file Renderer.h.

Referenced by OpenGLRenderer::changeTexture(), OpenGLRenderer::changeTextureUnit(), and resetToDefaults().

ShaderID Renderer::currentVertexShader [protected]
 

Definition at line 219 of file Renderer.h.

Referenced by OpenGLRenderer::changeVertexShader().

Set<FragmentShader> Renderer::fragmentShaders [protected]
 

Definition at line 218 of file Renderer.h.

Referenced by OpenGLRenderer::changeFragmentShader(), deleteFragmentShader(), and insertFragmentShader().

unsigned int Renderer::lockFlags
 

Definition at line 192 of file Renderer.h.

Referenced by apply(), Menu::load(), lock(), Renderer(), Menu::unload(), and unlock().

int Renderer::maxTextures [protected]
 

Definition at line 198 of file Renderer.h.

Referenced by apply(), OpenGLRenderer::init(), reset(), and resetToDefaults().

int Renderer::nNamedTextures [protected]
 

Definition at line 203 of file Renderer.h.

Referenced by OpenGLRenderer::assignNamedTextures(), reset(), and setTexture().

int Renderer::selectedBlendDest [protected]
 

Definition at line 213 of file Renderer.h.

Referenced by apply(), reset(), and setBlending().

int Renderer::selectedBlendMode [protected]
 

Definition at line 211 of file Renderer.h.

Referenced by apply(), reset(), and setBlending().

int Renderer::selectedBlendSrc [protected]
 

Definition at line 212 of file Renderer.h.

Referenced by apply(), reset(), and setBlending().

int Renderer::selectedDepthFunc [protected]
 

Definition at line 210 of file Renderer.h.

Referenced by apply(), reset(), and setDepthFunc().

ShaderID Renderer::selectedFragmentShader [protected]
 

Definition at line 220 of file Renderer.h.

Referenced by setFragmentShader().

int Renderer::selectedMask [protected]
 

Definition at line 214 of file Renderer.h.

Referenced by apply(), reset(), and setMask().

ShaderID Renderer::selectedShader [protected]
 

Definition at line 207 of file Renderer.h.

Referenced by apply(), reset(), and setShader().

const char* Renderer::selectedTextureNames[MAX_TEXTURES] [protected]
 

Definition at line 202 of file Renderer.h.

Referenced by OpenGLRenderer::assignNamedTextures(), and setTexture().

TextureID Renderer::selectedTextures[MAX_TEXTURES] [protected]
 

Definition at line 200 of file Renderer.h.

Referenced by apply(), reset(), setTexture(), and setTextures().

ShaderID Renderer::selectedVertexShader [protected]
 

Definition at line 219 of file Renderer.h.

Referenced by setVertexShader().

Set<Shader> Renderer::shaders [protected]
 

Definition at line 206 of file Renderer.h.

Referenced by OpenGLRenderer::assignNamedTextures(), OpenGLRenderer::changeShader(), OpenGLRenderer::changeShaderConstant1f(), OpenGLRenderer::changeShaderConstant2f(), OpenGLRenderer::changeShaderConstant3f(), OpenGLRenderer::changeShaderConstant4f(), deleteShader(), and insertShader().

Set<Texture> Renderer::textures [protected]
 

Definition at line 197 of file Renderer.h.

Referenced by OpenGLRenderer::changeTexture(), deleteTexture(), and insertTexture().

Set<VertexShader> Renderer::vertexShaders [protected]
 

Definition at line 217 of file Renderer.h.

Referenced by OpenGLRenderer::changeVertexShader(), deleteVertexShader(), and insertVertexShader().


Generated on Sun Jun 5 15:50:59 2005 for Defacto by  doxygen 1.4.3