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

#include <dx8indexbuffer.h>

Inherits W3DMPO, and RefCountClass.

Inherited by DX8IndexBufferClass, and SortingIndexBufferClass.

Classes

class  AppendLockClass
 
class  WriteLockClass
 

Public Member Functions

 IndexBufferClass (unsigned type, unsigned short index_count)
 
void Copy (unsigned int *indices, unsigned start_index, unsigned index_count)
 
void Copy (unsigned short *indices, unsigned start_index, unsigned index_count)
 
unsigned short Get_Index_Count () const
 
unsigned Type () const
 
void Add_Engine_Ref () const
 
void Release_Engine_Ref () const
 
unsigned Engine_Refs () const
 
- Public Member Functions inherited from W3DMPO
virtual ~W3DMPO ()
 
- Public Member Functions inherited from RefCountClass
 RefCountClass (void)
 
 RefCountClass (const RefCountClass &)
 
void Add_Ref (void) const
 
WWINLINE void Release_Ref (void) const
 
int Num_Refs (void) const
 
virtual void Delete_This (void)
 

Static Public Member Functions

static unsigned Get_Total_Buffer_Count ()
 
static unsigned Get_Total_Allocated_Indices ()
 
static unsigned Get_Total_Allocated_Memory ()
 
- Static Public Member Functions inherited from RefCountClass
static int Total_Refs (void)
 
static RefCountClassAdd_Active_Ref (RefCountClass *obj)
 
static RefCountClassSet_Ref_Owner (RefCountClass *obj, char *file, int line)
 
static void Remove_Active_Ref (RefCountClass *obj)
 
static bool Validate_Active_Ref (RefCountClass *obj)
 

Protected Member Functions

virtual ~IndexBufferClass ()
 
- Protected Member Functions inherited from W3DMPO
virtual int glueEnforcer () const =0
 
- Protected Member Functions inherited from RefCountClass
virtual ~RefCountClass (void)
 

Protected Attributes

int engine_refs
 
unsigned short index_count
 
unsigned type
 

Additional Inherited Members

- Public Attributes inherited from RefCountClass
RefCountNodeClass ActiveRefNode
 
ActiveRefStruct ActiveRefInfo
 
- Static Public Attributes inherited from RefCountClass
static RefCountListClass ActiveRefList
 

Detailed Description

Definition at line 59 of file dx8indexbuffer.h.

Constructor & Destructor Documentation

◆ ~IndexBufferClass()

IndexBufferClass::~IndexBufferClass ( )
protectedvirtual

Definition at line 91 of file dx8indexbuffer.cpp.

◆ IndexBufferClass()

IndexBufferClass::IndexBufferClass ( unsigned type,
unsigned short index_count )

Definition at line 70 of file dx8indexbuffer.cpp.

Member Function Documentation

◆ Add_Engine_Ref()

void IndexBufferClass::Add_Engine_Ref ( ) const

Definition at line 120 of file dx8indexbuffer.cpp.

◆ Copy() [1/2]

void IndexBufferClass::Copy ( unsigned int * indices,
unsigned start_index,
unsigned index_count )

Definition at line 137 of file dx8indexbuffer.cpp.

◆ Copy() [2/2]

void IndexBufferClass::Copy ( unsigned short * indices,
unsigned start_index,
unsigned index_count )

Definition at line 159 of file dx8indexbuffer.cpp.

◆ Engine_Refs()

unsigned IndexBufferClass::Engine_Refs ( ) const
inline

Definition at line 77 of file dx8indexbuffer.h.

◆ Get_Index_Count()

unsigned short IndexBufferClass::Get_Index_Count ( ) const
inline

Definition at line 71 of file dx8indexbuffer.h.

◆ Get_Total_Allocated_Indices()

unsigned IndexBufferClass::Get_Total_Allocated_Indices ( )
static

Definition at line 110 of file dx8indexbuffer.cpp.

◆ Get_Total_Allocated_Memory()

unsigned IndexBufferClass::Get_Total_Allocated_Memory ( )
static

Definition at line 115 of file dx8indexbuffer.cpp.

◆ Get_Total_Buffer_Count()

unsigned IndexBufferClass::Get_Total_Buffer_Count ( )
static

Definition at line 105 of file dx8indexbuffer.cpp.

◆ Release_Engine_Ref()

void IndexBufferClass::Release_Engine_Ref ( ) const

Definition at line 125 of file dx8indexbuffer.cpp.

◆ Type()

unsigned IndexBufferClass::Type ( ) const
inline

Definition at line 73 of file dx8indexbuffer.h.

Member Data Documentation

◆ engine_refs

int IndexBufferClass::engine_refs
mutableprotected

Definition at line 106 of file dx8indexbuffer.h.

◆ index_count

unsigned short IndexBufferClass::index_count
protected

Definition at line 107 of file dx8indexbuffer.h.

◆ type

unsigned IndexBufferClass::type
protected

Definition at line 108 of file dx8indexbuffer.h.


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