Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

renderer
Class FixedFunctionModelRenderer

ModelVertexRenderer
   |
   +--FixedFunctionModelRenderer

   in FixedFunctionModelRenderer.h
   in FixedFunctionModelRenderer.cpp

class FixedFunctionModelRenderer
extends ModelVertexRenderer

Class FixedFunctionModelRenderer: Render animated models using only OpenGL fixed function.


Field Summary
private FixedFunctionModelRendererInternals* m
          
 
Constructor Summary
FixedFunctionModelRenderer( bool colorIsDiffuseOnly )
          FixedFunctionModelRenderer: Constructor.
~FixedFunctionModelRenderer()
          
 
Method Summary
 void BeginPass( uint streamflags, const CMatrix3D* texturematrix )
          
 void* CreateModelData( CModel* model )
          
 void DestroyModelData( CModel* UNUSED( model ), void* data )
          
 void EndPass( uint streamflags )
          
 void PrepareModelDef( uint streamflags, CModelDefPtr def )
          
 void RenderModel( uint streamflags, CModel* model, void* data )
          
 void UpdateModelData( CModel* model, void* data, u32 updateflags )
          
   
Methods inherited from class ModelVertexRenderer
CreateModelData, UpdateModelData, DestroyModelData, BeginPass, EndPass, PrepareModelDef, RenderModel
 

Field Detail

m

private FixedFunctionModelRendererInternals* m;


Constructor Detail

FixedFunctionModelRenderer

public FixedFunctionModelRenderer( bool colorIsDiffuseOnly );
FixedFunctionModelRenderer: Constructor.
Parameters:
colorIsDiffuseOnly - if true, the primary color sent to the fragment stage contains only the diffuse term, and not the ambient

~FixedFunctionModelRenderer

public ~FixedFunctionModelRenderer();


Method Detail

BeginPass

public void BeginPass( uint streamflags, const CMatrix3D* texturematrix );

CreateModelData

public void* CreateModelData( CModel* model );

DestroyModelData

public void DestroyModelData( CModel* UNUSED( model ), void* data );

EndPass

public void EndPass( uint streamflags );

PrepareModelDef

public void PrepareModelDef( uint streamflags, CModelDefPtr def );

RenderModel

public void RenderModel( uint streamflags, CModel* model, void* data );

UpdateModelData

public void UpdateModelData( CModel* model, void* data, u32 updateflags );

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:14
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD