CoreGraphics::PrimitiveGroup Class Reference
#include <primitivegroup.h>
Detailed Description
Defines a group of primitives as a subset of a vertex buffer and index buffer plus the primitive topology (triangle list, etc...).(C) 2006 Radon Labs GmbH
Public Member Functions | |
PrimitiveGroup () | |
constructor | |
void | SetBaseVertex (IndexT i) |
set base vertex index | |
IndexT | GetBaseVertex () const |
get index of base vertex | |
void | SetNumVertices (SizeT n) |
set number of vertices | |
SizeT | GetNumVertices () const |
get number of vertices | |
void | SetBaseIndex (IndexT i) |
set base index index | |
IndexT | GetBaseIndex () const |
get base index index | |
void | SetNumIndices (SizeT n) |
set number of indices | |
SizeT | GetNumIndices () const |
get number of indices | |
void | SetPrimitiveTopology (PrimitiveTopology::Code topology) |
set the primitive topology | |
PrimitiveTopology::Code | GetPrimitiveTopology () const |
get the primitive topology | |
void | SetBoundingBox (const Math::bbox &b) |
set the primitive group's local bounding box | |
const Math::bbox & | GetBoundingBox () const |
get the primitive group's local bounding box | |
SizeT | GetNumPrimitives () const |
get computed number of primitives |