Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
PolyRenderTaskClass Class Reference

Inherits AutoPoolClass< PolyRenderTaskClass, 256 >.

Public Member Functions

 PolyRenderTaskClass (DX8PolygonRendererClass *p_renderer, MeshClass *p_mesh)
 
 ~PolyRenderTaskClass (void)
 
DX8PolygonRendererClassPeek_Polygon_Renderer (void)
 
MeshClassPeek_Mesh (void)
 
PolyRenderTaskClassGet_Next_Visible (void)
 
void Set_Next_Visible (PolyRenderTaskClass *prtc)
 

Protected Attributes

DX8PolygonRendererClassRenderer
 
MeshClassMesh
 
PolyRenderTaskClassNextVisible
 

Additional Inherited Members

- Static Public Member Functions inherited from AutoPoolClass< PolyRenderTaskClass, 256 >
static void * operator new (size_t size)
 
static void operator delete (void *memory)
 

Detailed Description

PolyRenderTaskClass This is a record of a polyrendere that needs to be rendered for this frame. Since MeshClass instances can share meshmodels (and therefore their dx8 polygon renderers) this record contains a pointer to the polygon renderer and the MeshClass instance that it is being rendered for.

Definition at line 100 of file dx8renderer.cpp.

Constructor & Destructor Documentation

◆ PolyRenderTaskClass()

PolyRenderTaskClass::PolyRenderTaskClass ( DX8PolygonRendererClass * p_renderer,
MeshClass * p_mesh )
inline

Definition at line 103 of file dx8renderer.cpp.

◆ ~PolyRenderTaskClass()

PolyRenderTaskClass::~PolyRenderTaskClass ( void )
inline

Definition at line 113 of file dx8renderer.cpp.

Member Function Documentation

◆ Get_Next_Visible()

PolyRenderTaskClass * PolyRenderTaskClass::Get_Next_Visible ( void )
inline

Definition at line 121 of file dx8renderer.cpp.

◆ Peek_Mesh()

MeshClass * PolyRenderTaskClass::Peek_Mesh ( void )
inline

Definition at line 119 of file dx8renderer.cpp.

◆ Peek_Polygon_Renderer()

DX8PolygonRendererClass * PolyRenderTaskClass::Peek_Polygon_Renderer ( void )
inline

Definition at line 118 of file dx8renderer.cpp.

◆ Set_Next_Visible()

void PolyRenderTaskClass::Set_Next_Visible ( PolyRenderTaskClass * prtc)
inline

Definition at line 122 of file dx8renderer.cpp.

Member Data Documentation

◆ Mesh

MeshClass* PolyRenderTaskClass::Mesh
protected

Definition at line 127 of file dx8renderer.cpp.

◆ NextVisible

PolyRenderTaskClass* PolyRenderTaskClass::NextVisible
protected

Definition at line 128 of file dx8renderer.cpp.

◆ Renderer

DX8PolygonRendererClass* PolyRenderTaskClass::Renderer
protected

Definition at line 126 of file dx8renderer.cpp.


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