|
|
@ -111,20 +111,10 @@ void plGBufferCell::Write( hsStream *s ) |
|
|
|
//// Constructor //////////////////////////////////////////////////////////////
|
|
|
|
//// Constructor //////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
plGBufferGroup::plGBufferGroup(uint8_t format, bool vertsVolatile, bool idxVolatile, int LOD) |
|
|
|
plGBufferGroup::plGBufferGroup(uint8_t format, bool vertsVolatile, bool idxVolatile, int LOD) |
|
|
|
|
|
|
|
: fNumVerts(0), fNumIndices(0), fFormat(format), fVertsVolatile(vertsVolatile), |
|
|
|
|
|
|
|
fIdxVolatile(idxVolatile), fLOD(LOD) |
|
|
|
{ |
|
|
|
{ |
|
|
|
fVertBuffStorage.clear(); |
|
|
|
|
|
|
|
fIdxBuffStorage.clear(); |
|
|
|
|
|
|
|
fColorBuffStorage.clear(); |
|
|
|
|
|
|
|
fVertexBufferRefs.clear(); |
|
|
|
|
|
|
|
fIndexBufferRefs.clear(); |
|
|
|
|
|
|
|
fCells.clear(); |
|
|
|
|
|
|
|
fNumVerts = fNumIndices = 0; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fFormat = format; |
|
|
|
|
|
|
|
fStride = ICalcVertexSize(fLiteStride); |
|
|
|
fStride = ICalcVertexSize(fLiteStride); |
|
|
|
fVertsVolatile = vertsVolatile; |
|
|
|
|
|
|
|
fIdxVolatile = idxVolatile; |
|
|
|
|
|
|
|
fLOD = LOD; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//// Destructor ///////////////////////////////////////////////////////////////
|
|
|
|
//// Destructor ///////////////////////////////////////////////////////////////
|
|
|
|