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

#include <dx8renderer.h>

Inherits DX8FVFCategoryContainer.

Public Member Functions

 DX8RigidFVFCategoryContainer (unsigned FVF, bool sorting)
 
 ~DX8RigidFVFCategoryContainer ()
 
void Add_Mesh (MeshModelClass *mmc)
 
void Log (bool only_visible)
 
bool Check_If_Mesh_Fits (MeshModelClass *mmc)
 
void Render (void)
 
virtual void Add_Delayed_Visible_Material_Pass (MaterialPassClass *pass, MeshClass *mesh)
 
virtual void Render_Delayed_Procedural_Material_Passes (void)
 
- Public Member Functions inherited from DX8FVFCategoryContainer
 DX8FVFCategoryContainer (unsigned FVF, bool sorting)
 
virtual ~DX8FVFCategoryContainer ()
 
bool Is_Sorting () const
 
void Change_Polygon_Renderer_Texture (DX8PolygonRendererList &polygon_renderer_list, TextureClass *texture, TextureClass *new_texture, unsigned pass, unsigned stage)
 
void Change_Polygon_Renderer_Material (DX8PolygonRendererList &polygon_renderer_list, VertexMaterialClass *vmat, VertexMaterialClass *new_vmat, unsigned pass)
 
void Remove_Texture_Category (DX8TextureCategoryClass *tex_category)
 
unsigned Get_FVF () const
 
void Add_Visible_Texture_Category (DX8TextureCategoryClass *tex_category, int pass)
 
void Add_Visible_Material_Pass (MaterialPassClass *pass, MeshClass *mesh)
 
- Public Member Functions inherited from MultiListObjectClass
 MultiListObjectClass (void)
 
virtual ~MultiListObjectClass (void)
 
MultiListNodeClassGet_List_Node () const
 
void Set_List_Node (MultiListNodeClass *node)
 

Protected Attributes

VertexBufferClassvertex_buffer
 
int used_vertices
 
MatPassTaskClassdelayed_matpass_head
 
MatPassTaskClassdelayed_matpass_tail
 
- Protected Attributes inherited from DX8FVFCategoryContainer
TextureCategoryList texture_category_list [MAX_PASSES]
 
TextureCategoryList visible_texture_category_list [MAX_PASSES]
 
MatPassTaskClassvisible_matpass_head
 
MatPassTaskClassvisible_matpass_tail
 
IndexBufferClassindex_buffer
 
int used_indices
 
unsigned FVF
 
unsigned passes
 
unsigned uv_coordinate_channels
 
bool sorting
 
bool AnythingToRender
 
bool AnyDelayedPassesToRender
 

Additional Inherited Members

- Public Types inherited from DX8FVFCategoryContainer
enum  { MAX_PASSES =4 }
 
- Static Public Member Functions inherited from DX8FVFCategoryContainer
static unsigned Define_FVF (MeshModelClass *mmc, bool enable_lighting)
 
- Protected Member Functions inherited from DX8FVFCategoryContainer
void Generate_Texture_Categories (Vertex_Split_Table &split_table, unsigned vertex_offset)
 
void Insert_To_Texture_Category (Vertex_Split_Table &split_table, TextureClass **textures, VertexMaterialClass *mat, ShaderClass shader, int pass, unsigned vertex_offset)
 
bool Anything_To_Render ()
 
bool Any_Delayed_Passes_To_Render ()
 
void Render_Procedural_Material_Passes (void)
 
DX8TextureCategoryClassFind_Matching_Texture_Category (TextureClass *texture, unsigned pass, unsigned stage, DX8TextureCategoryClass *ref_category)
 
DX8TextureCategoryClassFind_Matching_Texture_Category (VertexMaterialClass *vmat, unsigned pass, DX8TextureCategoryClass *ref_category)
 

Detailed Description

DX8RigidFVFCategoryContainer This is an FVFCategoryContainer for rigid (non-skin) meshes

Definition at line 241 of file dx8renderer.h.

Constructor & Destructor Documentation

◆ DX8RigidFVFCategoryContainer()

DX8RigidFVFCategoryContainer::DX8RigidFVFCategoryContainer ( unsigned FVF,
bool sorting )

Definition at line 741 of file dx8renderer.cpp.

◆ ~DX8RigidFVFCategoryContainer()

DX8RigidFVFCategoryContainer::~DX8RigidFVFCategoryContainer ( )

Definition at line 753 of file dx8renderer.cpp.

Member Function Documentation

◆ Add_Delayed_Visible_Material_Pass()

void DX8RigidFVFCategoryContainer::Add_Delayed_Visible_Material_Pass ( MaterialPassClass * pass,
MeshClass * mesh )
virtual

Implements DX8FVFCategoryContainer.

Definition at line 327 of file dx8renderer.cpp.

◆ Add_Mesh()

void DX8RigidFVFCategoryContainer::Add_Mesh ( MeshModelClass * mmc)
virtual

Implements DX8FVFCategoryContainer.

Definition at line 1001 of file dx8renderer.cpp.

◆ Check_If_Mesh_Fits()

bool DX8RigidFVFCategoryContainer::Check_If_Mesh_Fits ( MeshModelClass * mmc)
virtual

Implements DX8FVFCategoryContainer.

Definition at line 832 of file dx8renderer.cpp.

◆ Log()

void DX8RigidFVFCategoryContainer::Log ( bool only_visible)
virtual

Implements DX8FVFCategoryContainer.

Definition at line 760 of file dx8renderer.cpp.

◆ Render()

void DX8RigidFVFCategoryContainer::Render ( void )
virtual

Implements DX8FVFCategoryContainer.

Definition at line 801 of file dx8renderer.cpp.

◆ Render_Delayed_Procedural_Material_Passes()

void DX8RigidFVFCategoryContainer::Render_Delayed_Procedural_Material_Passes ( void )
virtual

Implements DX8FVFCategoryContainer.

Definition at line 343 of file dx8renderer.cpp.

Member Data Documentation

◆ delayed_matpass_head

MatPassTaskClass* DX8RigidFVFCategoryContainer::delayed_matpass_head
protected

Definition at line 266 of file dx8renderer.h.

◆ delayed_matpass_tail

MatPassTaskClass* DX8RigidFVFCategoryContainer::delayed_matpass_tail
protected

Definition at line 267 of file dx8renderer.h.

◆ used_vertices

int DX8RigidFVFCategoryContainer::used_vertices
protected

Definition at line 264 of file dx8renderer.h.

◆ vertex_buffer

VertexBufferClass* DX8RigidFVFCategoryContainer::vertex_buffer
protected

Definition at line 263 of file dx8renderer.h.


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