#include
<IParticleChannelTrueFalseIterator.h>
Public Member Functions |
|
OrbazTrueBlock () | |
OrbazTrueBlock (const OrbazTrueBlock &block) | |
OrbazTrueBlock (int majorIndex, DWORD32 blockIndices) | |
int | GetMajorIndex (void) const |
void | SetMajorIndex (int index) |
void | AddBlockIndex (int index) |
int | NumberSet (void) const |
returns number of bits set in the TrueBlock
|
|
Static Public Member Functions |
|
static int | SetAllTrueBlocks (int particleCount, OrbazTrueBlock *&trueBlocks) |
returns number of trueBlocks allocated and
set |
|
static int | GetMaxNumTrueBlocks (int particleCount) |
static int | OptimizeMemoryUsage (int numBlocksSet, int numBlocksAllocated, OrbazTrueBlock *&trueBlocks) |
Protected Attributes |
|
int | m_majorIndex |
DWORD32 | m_blockIndices |
OrbazTrueBlock | ( | ) |
OrbazTrueBlock | ( | const OrbazTrueBlock & | block | ) |
OrbazTrueBlock | ( | int | majorIndex, |
DWORD32 | blockIndices | ||
) |
int GetMajorIndex | ( | void | ) | const [inline] |
{ return m_majorIndex; }
void SetMajorIndex | ( | int | index | ) | [inline] |
{ m_majorIndex = index; }
void AddBlockIndex | ( | int | index | ) |
int NumberSet | ( | void | ) | const |
returns number of bits set in the TrueBlock
static int SetAllTrueBlocks | ( | int | particleCount, |
OrbazTrueBlock *& | trueBlocks | ||
) | [static] |
returns number of trueBlocks allocated and set
static int GetMaxNumTrueBlocks | ( | int | particleCount | ) | [static] |
static int OptimizeMemoryUsage | ( | int | numBlocksSet, |
int | numBlocksAllocated, | ||
OrbazTrueBlock *& | trueBlocks | ||
) | [static] |
int m_majorIndex
[protected] |
DWORD32 m_blockIndices
[protected] |