CUDA patch table.
More...
#include <cudaPatchTable.h>
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 51 of file cudaPatchTable.h.
◆ ~CudaPatchTable()
◆ CudaPatchTable()
◆ allocate()
◆ Create()
Creator. Returns NULL if error.
◆ GetFVarPatchArrayBuffer()
void * GetFVarPatchArrayBuffer |
( |
int |
fvarChannel | ) |
const |
|
inline |
◆ GetFVarPatchIndexBuffer()
void * GetFVarPatchIndexBuffer |
( |
int |
fvarChannel = 0 | ) |
const |
|
inline |
Returns the cuda memory of the array of face-varying control vertices.
Definition at line 86 of file cudaPatchTable.h.
◆ GetFVarPatchParamBuffer()
void * GetFVarPatchParamBuffer |
( |
int |
fvarChannel = 0 | ) |
const |
|
inline |
Returns the cuda memory of the array of face-varying param.
Definition at line 91 of file cudaPatchTable.h.
◆ GetNumFVarChannels()
int GetNumFVarChannels |
( |
| ) |
const |
|
inline |
Returns the number of face-varying channels buffers.
Definition at line 78 of file cudaPatchTable.h.
◆ GetPatchArrayBuffer()
void * GetPatchArrayBuffer |
( |
| ) |
const |
|
inline |
◆ GetPatchIndexBuffer()
void * GetPatchIndexBuffer |
( |
| ) |
const |
|
inline |
Returns the cuda memory of the patch control vertices.
Definition at line 63 of file cudaPatchTable.h.
◆ GetPatchParamBuffer()
void * GetPatchParamBuffer |
( |
| ) |
const |
|
inline |
◆ GetVaryingPatchArrayBuffer()
void * GetVaryingPatchArrayBuffer |
( |
| ) |
const |
|
inline |
◆ GetVaryingPatchIndexBuffer()
void * GetVaryingPatchIndexBuffer |
( |
| ) |
const |
|
inline |
Returns the cuda memory of the array of varying control vertices.
Definition at line 73 of file cudaPatchTable.h.
◆ _fvarIndexBuffers
std::vector<void *> _fvarIndexBuffers |
|
protected |
◆ _fvarParamBuffers
std::vector<void *> _fvarParamBuffers |
|
protected |
◆ _fvarPatchArrays
std::vector<void *> _fvarPatchArrays |
|
protected |
◆ _indexBuffer
◆ _patchArrays
◆ _patchParamBuffer
◆ _varyingIndexBuffer
void* _varyingIndexBuffer |
|
protected |
◆ _varyingPatchArrays
void* _varyingPatchArrays |
|
protected |
The documentation for this class was generated from the following file: