CL patch table.
More...
#include <clPatchTable.h>
CL patch table.
This class is a CL buffer representation of Far::PatchTable.
CLEvaluator consumes this table to evaluate on the patches.
Definition at line 52 of file clPatchTable.h.
◆ ~CLPatchTable()
◆ CLPatchTable()
◆ allocate()
◆ Create() [1/2]
Creator. Returns NULL if error.
◆ Create() [2/2]
template<typename DEVICE_CONTEXT >
◆ GetFVarPatchArrayBuffer()
cl_mem GetFVarPatchArrayBuffer |
( |
int | fvarChannel = 0 | ) |
const |
|
inline |
◆ GetFVarPatchIndexBuffer()
cl_mem GetFVarPatchIndexBuffer |
( |
int | fvarChannel = 0 | ) |
const |
|
inline |
Returns the CL memory of the face-varying control vertices.
Definition at line 89 of file clPatchTable.h.
◆ GetFVarPatchParamBuffer()
cl_mem GetFVarPatchParamBuffer |
( |
int | fvarChannel = 0 | ) |
const |
|
inline |
◆ GetNumFVarChannels()
int GetNumFVarChannels |
( |
| ) |
const |
|
inline |
Returns the number of face-varying channel buffers.
Definition at line 83 of file clPatchTable.h.
◆ GetPatchArrayBuffer()
cl_mem GetPatchArrayBuffer |
( |
| ) |
const |
|
inline |
◆ GetPatchIndexBuffer()
cl_mem GetPatchIndexBuffer |
( |
| ) |
const |
|
inline |
Returns the CL memory of the patch control vertices.
Definition at line 71 of file clPatchTable.h.
◆ GetPatchParamBuffer()
cl_mem GetPatchParamBuffer |
( |
| ) |
const |
|
inline |
◆ GetVaryingPatchArrayBuffer()
cl_mem GetVaryingPatchArrayBuffer |
( |
| ) |
const |
|
inline |
◆ GetVaryingPatchIndexBuffer()
cl_mem GetVaryingPatchIndexBuffer |
( |
| ) |
const |
|
inline |
Returns the CL memory of the varying control vertices.
Definition at line 80 of file clPatchTable.h.
◆ _fvarIndexBuffers
std::vector<cl_mem> _fvarIndexBuffers |
|
protected |
◆ _fvarParamBuffers
std::vector<cl_mem> _fvarParamBuffers |
|
protected |
◆ _fvarPatchArrays
std::vector<cl_mem> _fvarPatchArrays |
|
protected |
◆ _indexBuffer
◆ _patchArrays
◆ _patchParamBuffer
◆ _varyingIndexBuffer
cl_mem _varyingIndexBuffer |
|
protected |
◆ _varyingPatchArrays
cl_mem _varyingPatchArrays |
|
protected |
The documentation for this class was generated from the following file: