renderer
Class FastPlayerColorRender
RenderModifier
|
+--FastPlayerColorRender
in PlayerRenderer.h
in PlayerRenderer.cpp
- class FastPlayerColorRender
- extends RenderModifier
Class FastPlayerColorRender: Render models fully textured and lit
plus player color in a single pass using multi-texturing (at least 3 TMUs
required).
Method Summary |
u32 |
BeginPass( uint pass )
|
bool |
EndPass( uint UNUSED( pass ) )
|
static bool |
IsAvailable()
IsAvailable: Determines whether this RenderModifier can be used
given the OpenGL implementation specific limits. |
void |
PrepareModel( uint UNUSED( pass ), CModel* model )
SlowPlayerColorRender |
void |
PrepareTexture( uint UNUSED( pass ), CTexture* texture )
|
FastPlayerColorRender
public FastPlayerColorRender();
~FastPlayerColorRender
public ~FastPlayerColorRender();
BeginPass
public u32 BeginPass( uint pass );
EndPass
public bool EndPass( uint UNUSED( pass ) );
IsAvailable
public static bool IsAvailable();
- IsAvailable: Determines whether this RenderModifier can be used
given the OpenGL implementation specific limits.
- Returns:
- true if the OpenGL implementation can support this
RenderModifier.
PrepareModel
public void PrepareModel( uint UNUSED( pass ), CModel* model );
- SlowPlayerColorRender
PrepareTexture
public void PrepareTexture( uint UNUSED( pass ), CTexture* texture );