#include <drawContext.h>
Definition at line 58 of file drawContext.h.
Constructor
- Parameters
-
farDesc | Patch type descriptor |
maxValence | Highest vertex valence in the primitive |
subPatch | Index of the triangulated sub-patch for the given transition pattern. Transition patches need to be split into multiple sub-patches in order to be rendered with hardware tessellation. |
numElements | The size of the vertex and varying data per-vertex (in floats) |
Definition at line 74 of file drawContext.h.
int GetMaxValence |
( |
| ) |
const |
|
inline |
int GetNumControlVertices |
( |
| ) |
const |
|
inline |
Returns the number of control vertices expected for a patch of the type described
Definition at line 96 of file drawContext.h.
int GetNumElements |
( |
| ) |
const |
|
inline |
Returns the number of vertex elements.
Definition at line 111 of file drawContext.h.
Returns the transition pattern of the patch if any (5 types)
Definition at line 85 of file drawContext.h.
unsigned char GetRotation |
( |
| ) |
const |
|
inline |
Returns the rotation of the patch (4 rotations)
Definition at line 90 of file drawContext.h.
int GetSubPatch |
( |
| ) |
const |
|
inline |
Returns the type of the patch.
Definition at line 80 of file drawContext.h.
Allows ordering of patches by type.
Definition at line 237 of file drawContext.h.
True if the descriptors are identical.
Definition at line 247 of file drawContext.h.
void SetNumElements |
( |
int |
numElements | ) |
|
|
inline |
Set the number of vertex elements.
Definition at line 116 of file drawContext.h.
The documentation for this class was generated from the following file: