A GP Compute Kernel descriptor. More...
#include <kernelBatch.h>
Public Types | |
enum | KernelType { KERNEL_UNKNOWN =0, KERNEL_STENCIL_TABLE, KERNEL_USER_DEFINED } |
Public Member Functions | |
KernelBatch (int _kernelType, int _level, int _start, int _end) | |
Constructor. More... | |
Public Attributes | |
int | kernelType |
int | level |
int | start |
int | end |
A GP Compute Kernel descriptor.
Vertex refinement through subdivision schemes requires the successive application of dedicated compute kernels. OpenSubdiv groups these vertices in batches based on their topology in order to minimize the number of kernel switches to process a given primitive.
Definition at line 44 of file kernelBatch.h.
enum KernelType |
Enumerator | |
---|---|
KERNEL_UNKNOWN | |
KERNEL_STENCIL_TABLE | |
KERNEL_USER_DEFINED |
Definition at line 48 of file kernelBatch.h.
|
inline |
Constructor.
_kernelType | The type of compute kernel kernel |
_level | The level of subdivision of the vertices in the batch |
_start | Index of the first vertex in the batch |
_end | Index of the last vertex in the batch |
Definition at line 64 of file kernelBatch.h.
int end |
Definition at line 67 of file kernelBatch.h.
int kernelType |
Definition at line 67 of file kernelBatch.h.
int level |
Definition at line 67 of file kernelBatch.h.
int start |
Definition at line 67 of file kernelBatch.h.