Describes an array of patches of the same type.
More...
#include <patchTables.h>
Describes an array of patches of the same type.
Definition at line 217 of file patchTables.h.
PatchArray |
( |
Descriptor |
desc, |
|
|
unsigned int |
vertIndex, |
|
|
unsigned int |
patchIndex, |
|
|
unsigned int |
npatches, |
|
|
unsigned int |
quadOffsetIndex |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
desc | descriptor information for the patches in the array |
vertIndex | absolute index to the first control vertex of the first patch in the PTable |
patchIndex | absolute index of the first patch in the array |
npatches | number of patches in the array |
quadOffsetIndex | absolute index of the first quad offset entry |
Definition at line 236 of file patchTables.h.
Returns a patch descriptor defining the type of patches in the array.
Definition at line 240 of file patchTables.h.
unsigned int GetNumPatches |
( |
| ) |
const |
|
inline |
Returns the number of patches in the array.
Definition at line 287 of file patchTables.h.
unsigned int GetPatchIndex |
( |
| ) |
const |
|
inline |
Returns the global index of the first patch in this array (Used to access param / fvar table data)
Definition at line 282 of file patchTables.h.
unsigned int GetQuadOffsetIndex |
( |
| ) |
const |
|
inline |
Returns the index to the first entry in the QuadOffsetTable.
Definition at line 292 of file patchTables.h.
unsigned int GetVertIndex |
( |
| ) |
const |
|
inline |
Returns the index of the first control vertex of the first patch of this array in the global PTable.
Definition at line 276 of file patchTables.h.
The documentation for this class was generated from the following file: