Definition at line 29 of file gblock.h.
◆ CGeometryBlock()
CGeometryBlock::CGeometryBlock |
( |
| ) |
|
|
inline |
◆ CommitPrimType()
void CGeometryBlock::CommitPrimType |
( |
| ) |
|
|
private |
◆ SameDataFormat()
bool CGeometryBlock::SameDataFormat |
( |
| ) |
|
|
private |
◆ MergeNewLinear()
bool CGeometryBlock::MergeNewLinear |
( |
| ) |
|
|
private |
◆ MergeNewIndexed()
bool CGeometryBlock::MergeNewIndexed |
( |
| ) |
|
|
private |
◆ SetVerticesAreValid()
void CGeometryBlock::SetVerticesAreValid |
( |
bool |
valid | ) |
|
|
inline |
◆ SetNormalsAreValid()
void CGeometryBlock::SetNormalsAreValid |
( |
bool |
valid | ) |
|
|
inline |
◆ SetTexCoordsAreValid()
void CGeometryBlock::SetTexCoordsAreValid |
( |
bool |
valid | ) |
|
|
inline |
◆ SetColorsAreValid()
void CGeometryBlock::SetColorsAreValid |
( |
bool |
valid | ) |
|
|
inline |
◆ GetVerticesAreValid()
bool CGeometryBlock::GetVerticesAreValid |
( |
| ) |
const |
|
inline |
◆ GetNormalsAreValid()
bool CGeometryBlock::GetNormalsAreValid |
( |
| ) |
const |
|
inline |
◆ GetTexCoordsAreValid()
bool CGeometryBlock::GetTexCoordsAreValid |
( |
| ) |
const |
|
inline |
◆ GetColorsAreValid()
bool CGeometryBlock::GetColorsAreValid |
( |
| ) |
const |
|
inline |
◆ GetWordsPerVertex()
int CGeometryBlock::GetWordsPerVertex |
( |
| ) |
const |
|
inline |
◆ GetWordsPerNormal()
int CGeometryBlock::GetWordsPerNormal |
( |
| ) |
const |
|
inline |
◆ GetWordsPerTexCoord()
int CGeometryBlock::GetWordsPerTexCoord |
( |
| ) |
const |
|
inline |
◆ GetWordsPerColor()
int CGeometryBlock::GetWordsPerColor |
( |
| ) |
const |
|
inline |
◆ SetWordsPerVertex()
void CGeometryBlock::SetWordsPerVertex |
( |
char |
num | ) |
|
|
inline |
◆ SetWordsPerNormal()
void CGeometryBlock::SetWordsPerNormal |
( |
char |
num | ) |
|
|
inline |
◆ SetWordsPerTexCoord()
void CGeometryBlock::SetWordsPerTexCoord |
( |
char |
num | ) |
|
|
inline |
◆ SetWordsPerColor()
void CGeometryBlock::SetWordsPerColor |
( |
char |
num | ) |
|
|
inline |
◆ SetArrayType()
void CGeometryBlock::SetArrayType |
( |
ArrayType::tArrayType |
type | ) |
|
|
inline |
◆ GetNewArrayType()
ArrayType::tArrayType CGeometryBlock::GetNewArrayType |
( |
| ) |
const |
|
inline |
◆ GetArrayType()
ArrayType::tArrayType CGeometryBlock::GetArrayType |
( |
| ) |
const |
|
inline |
◆ SetNumIndices()
void CGeometryBlock::SetNumIndices |
( |
unsigned int |
num | ) |
|
|
inline |
◆ SetIndices()
void CGeometryBlock::SetIndices |
( |
const void * |
indices | ) |
|
|
inline |
◆ SetIStripLengths()
void CGeometryBlock::SetIStripLengths |
( |
const void * |
strips | ) |
|
|
inline |
◆ GetVertices()
const void * CGeometryBlock::GetVertices |
( |
int |
strip = 0 | ) |
|
|
inline |
◆ GetNormals()
const void * CGeometryBlock::GetNormals |
( |
int |
strip = 0 | ) |
|
|
inline |
◆ GetTexCoords()
const void * CGeometryBlock::GetTexCoords |
( |
int |
strip = 0 | ) |
|
|
inline |
◆ GetColors()
const void * CGeometryBlock::GetColors |
( |
int |
strip = 0 | ) |
|
|
inline |
◆ GetIndices()
const void * CGeometryBlock::GetIndices |
( |
int |
array | ) |
|
|
inline |
◆ GetIStripLengths()
const void * CGeometryBlock::GetIStripLengths |
( |
int |
array | ) |
|
|
inline |
◆ SetVertices()
void CGeometryBlock::SetVertices |
( |
const void * |
verts | ) |
|
|
inline |
◆ SetNormals()
void CGeometryBlock::SetNormals |
( |
const void * |
norms | ) |
|
|
inline |
◆ SetTexCoords()
void CGeometryBlock::SetTexCoords |
( |
const void * |
texcoords | ) |
|
|
inline |
◆ SetColors()
void CGeometryBlock::SetColors |
( |
const void * |
colors | ) |
|
|
inline |
◆ GetPrimType()
GLenum CGeometryBlock::GetPrimType |
( |
| ) |
const |
|
inline |
◆ SetPrimType()
void CGeometryBlock::SetPrimType |
( |
GLenum |
type | ) |
|
|
inline |
◆ GetNumNewVertices()
int CGeometryBlock::GetNumNewVertices |
( |
| ) |
const |
|
inline |
◆ GetNumNewNormals()
int CGeometryBlock::GetNumNewNormals |
( |
| ) |
const |
|
inline |
◆ GetNumNewTexCoords()
int CGeometryBlock::GetNumNewTexCoords |
( |
| ) |
const |
|
inline |
◆ GetNumNewColors()
int CGeometryBlock::GetNumNewColors |
( |
| ) |
const |
|
inline |
◆ GetTotalVertices()
int CGeometryBlock::GetTotalVertices |
( |
| ) |
const |
|
inline |
◆ AddVertices()
void CGeometryBlock::AddVertices |
( |
int |
num = 1 | ) |
|
|
inline |
◆ AddNormals()
void CGeometryBlock::AddNormals |
( |
int |
num = 1 | ) |
|
|
inline |
◆ AddTexCoords()
void CGeometryBlock::AddTexCoords |
( |
int |
num = 1 | ) |
|
|
inline |
◆ AddColors()
void CGeometryBlock::AddColors |
( |
int |
num = 1 | ) |
|
|
inline |
◆ SetNumVertsPerPrim()
void CGeometryBlock::SetNumVertsPerPrim |
( |
int |
num | ) |
|
|
inline |
◆ GetNumVertsPerPrim()
int CGeometryBlock::GetNumVertsPerPrim |
( |
| ) |
|
|
inline |
◆ SetNumVertsToRestartStrip()
void CGeometryBlock::SetNumVertsToRestartStrip |
( |
int |
num | ) |
|
|
inline |
◆ SetStripsCanBeMerged()
void CGeometryBlock::SetStripsCanBeMerged |
( |
bool |
merge | ) |
|
|
inline |
◆ GetNumStrips()
int CGeometryBlock::GetNumStrips |
( |
| ) |
const |
|
inline |
◆ GetNumVertsToRestartStrip()
int CGeometryBlock::GetNumVertsToRestartStrip |
( |
| ) |
|
|
inline |
can the strips in this block be merged into the same render buffer and be rendered with a single giftag/prim setting? (triangle fans can't)
Definition at line 173 of file gblock.h.
◆ GetStripsCanBeMerged()
bool CGeometryBlock::GetStripsCanBeMerged |
( |
| ) |
const |
|
inline |
◆ GetStripLength()
int CGeometryBlock::GetStripLength |
( |
int |
num | ) |
const |
|
inline |
◆ StripIsContinued()
bool CGeometryBlock::StripIsContinued |
( |
int |
num | ) |
const |
|
inline |
◆ GetNumArrays()
int CGeometryBlock::GetNumArrays |
( |
| ) |
const |
|
inline |
◆ GetArrayLength()
int CGeometryBlock::GetArrayLength |
( |
int |
array | ) |
const |
|
inline |
◆ GetNumIndices()
int CGeometryBlock::GetNumIndices |
( |
int |
array | ) |
const |
|
inline |
◆ ResetCurStrip()
void CGeometryBlock::ResetCurStrip |
( |
| ) |
|
◆ ResetNew()
void CGeometryBlock::ResetNew |
( |
| ) |
|
◆ Reset()
void CGeometryBlock::Reset |
( |
| ) |
|
◆ IsPending()
bool CGeometryBlock::IsPending |
( |
| ) |
const |
|
inline |
◆ MergeNew()
bool CGeometryBlock::MergeNew |
( |
| ) |
|
◆ MakeNewValuesCurrent()
void CGeometryBlock::MakeNewValuesCurrent |
( |
| ) |
|
◆ AdjustNewGeomPtrs()
void CGeometryBlock::AdjustNewGeomPtrs |
( |
int |
offset | ) |
|
|
inline |
◆ TotalVertices
int CGeometryBlock::TotalVertices |
|
private |
◆ WordsPerVertex
char CGeometryBlock::WordsPerVertex |
|
private |
◆ WordsPerNormal
char CGeometryBlock::WordsPerNormal |
|
private |
◆ WordsPerTexCoord
char CGeometryBlock::WordsPerTexCoord |
|
private |
◆ WordsPerColor
char CGeometryBlock::WordsPerColor |
|
private |
◆ NumVertsToRestartStrip
char CGeometryBlock::NumVertsToRestartStrip |
|
private |
◆ NumVertsPerPrim
char CGeometryBlock::NumVertsPerPrim |
|
private |
◆ StripsCanBeMerged
bool CGeometryBlock::StripsCanBeMerged |
|
private |
◆ AreVerticesValid
bool CGeometryBlock::AreVerticesValid |
|
private |
◆ AreNormalsValid
bool CGeometryBlock::AreNormalsValid |
|
private |
◆ AreTexCoordsValid
bool CGeometryBlock::AreTexCoordsValid |
|
private |
◆ AreColorsValid
bool CGeometryBlock::AreColorsValid |
|
private |
◆ PrimType
GLenum CGeometryBlock::PrimType |
|
private |
◆ ArrayType
ArrayType::tArrayType CGeometryBlock::ArrayType |
|
private |
◆ kMaxNumStrips
const int CGeometryBlock::kMaxNumStrips = 40 |
|
staticprivate |
◆ kContinueFlag
const unsigned int CGeometryBlock::kContinueFlag = 0x80000000 |
|
staticprivate |
◆ NumStrips
unsigned char CGeometryBlock::NumStrips |
|
private |
◆ StripLengths
unsigned int CGeometryBlock::StripLengths[kMaxNumStrips] |
|
private |
◆ IStripLengths
const void* CGeometryBlock::IStripLengths[kMaxNumStrips] |
|
private |
◆ Indices
const void* CGeometryBlock::Indices[kMaxNumStrips] |
|
private |
◆ Vertices
const void* CGeometryBlock::Vertices[kMaxNumStrips] |
|
private |
◆ Normals
const void* CGeometryBlock::Normals[kMaxNumStrips] |
|
private |
◆ TexCoords
const void* CGeometryBlock::TexCoords[kMaxNumStrips] |
|
private |
◆ Colors
const void* CGeometryBlock::Colors[kMaxNumStrips] |
|
private |
◆ NumIndices
unsigned char CGeometryBlock::NumIndices[kMaxNumStrips] |
|
private |
◆ NewPrimType
GLenum CGeometryBlock::NewPrimType |
|
private |
◆ NewArrayType
ArrayType::tArrayType CGeometryBlock::NewArrayType |
|
private |
◆ NewVertices
const void* CGeometryBlock::NewVertices |
|
private |
◆ NewNormals
const void * CGeometryBlock::NewNormals |
|
private |
◆ NewTexCoords
const void * CGeometryBlock::NewTexCoords |
|
private |
◆ NewColors
const void * CGeometryBlock::NewColors |
|
private |
◆ NewIndices
const void* CGeometryBlock::NewIndices |
|
private |
◆ NewIStripLengths
const void * CGeometryBlock::NewIStripLengths |
|
private |
◆ NumNewVertices
int CGeometryBlock::NumNewVertices |
|
private |
◆ NumNewNormals
int CGeometryBlock::NumNewNormals |
|
private |
◆ NumNewTexCoords
int CGeometryBlock::NumNewTexCoords |
|
private |
◆ NumNewColors
int CGeometryBlock::NumNewColors |
|
private |
◆ NumNewIndices
int CGeometryBlock::NumNewIndices |
|
private |
◆ WordsPerNewVertex
char CGeometryBlock::WordsPerNewVertex |
|
private |
◆ WordsPerNewNormal
char CGeometryBlock::WordsPerNewNormal |
|
private |
◆ WordsPerNewTexCoord
char CGeometryBlock::WordsPerNewTexCoord |
|
private |
◆ WordsPerNewColor
char CGeometryBlock::WordsPerNewColor |
|
private |
◆ AreNewVerticesValid
bool CGeometryBlock::AreNewVerticesValid |
|
private |
◆ AreNewNormalsValid
bool CGeometryBlock::AreNewNormalsValid |
|
private |
◆ AreNewTexCoordsValid
bool CGeometryBlock::AreNewTexCoordsValid |
|
private |
◆ AreNewColorsValid
bool CGeometryBlock::AreNewColorsValid |
|
private |
The documentation for this class was generated from the following files: