CUDA patch table. More...
#include <cudaPatchTable.h>
Public Member Functions | |
~CudaPatchTable () | |
Destructor. More... | |
void * | GetPatchArrayBuffer () const |
Returns the cuda memory of the array of Osd::PatchArray buffer. More... | |
void * | GetPatchIndexBuffer () const |
Returns the cuda memory of the patch control vertices. More... | |
void * | GetPatchParamBuffer () const |
Returns the cuda memory of the array of Osd::PatchParam buffer. More... | |
Static Public Member Functions | |
static CudaPatchTable * | Create (Far::PatchTable const *patchTable, void *deviceContext=NULL) |
Creator. Returns NULL if error. More... | |
Protected Member Functions | |
CudaPatchTable () | |
bool | allocate (Far::PatchTable const *patchTable) |
Protected Attributes | |
void * | _patchArrays |
void * | _indexBuffer |
void * | _patchParamBuffer |
CUDA patch table.
This class is a cuda buffer representation of Far::PatchTable.
CudaEvaluator consumes this table to evaluate on the patches.
Definition at line 49 of file cudaPatchTable.h.
~CudaPatchTable | ( | ) |
Destructor.
|
protected |
|
protected |
|
static |
Creator. Returns NULL if error.
|
inline |
Returns the cuda memory of the array of Osd::PatchArray buffer.
Definition at line 58 of file cudaPatchTable.h.
|
inline |
Returns the cuda memory of the patch control vertices.
Definition at line 61 of file cudaPatchTable.h.
|
inline |
Returns the cuda memory of the array of Osd::PatchParam buffer.
Definition at line 64 of file cudaPatchTable.h.
|
protected |
Definition at line 72 of file cudaPatchTable.h.
|
protected |
Definition at line 71 of file cudaPatchTable.h.
|
protected |
Definition at line 73 of file cudaPatchTable.h.