|  | 
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... | |
| void * | GetVaryingPatchArrayBuffer () const | 
| Returns the cuda memory of the array of Osd::PatchArray buffer.  More... | |
| void * | GetVaryingPatchIndexBuffer () const | 
| Returns the cuda memory of the array of varying control vertices.  More... | |
| int | GetNumFVarChannels () const | 
| Returns the number of face-varying channels buffers.  More... | |
| void * | GetFVarPatchArrayBuffer (int fvarChannel) const | 
| Returns the cuda memory of the array of Osd::PatchArray buffer.  More... | |
| void * | GetFVarPatchIndexBuffer (int fvarChannel=0) const | 
| Returns the cuda memory of the array of face-varying control vertices.  More... | |
| void * | GetFVarPatchParamBuffer (int fvarChannel=0) const | 
| Returns the cuda memory of the array of face-varying param.  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 | 
| void * | _varyingPatchArrays | 
| void * | _varyingIndexBuffer | 
| std::vector< void * > | _fvarPatchArrays | 
| std::vector< void * > | _fvarIndexBuffers | 
| std::vector< void * > | _fvarParamBuffers | 
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 | ( | ) | 
Destructor.
| 
 | protected | 
| 
 | protected | 
| 
 | static | 
Creator. Returns NULL if error.
| 
 | inline | 
Returns the cuda memory of the array of Osd::PatchArray buffer.
Definition at line 81 of file cudaPatchTable.h.
| 
 | inline | 
Returns the cuda memory of the array of face-varying control vertices.
Definition at line 86 of file cudaPatchTable.h.
| 
 | inline | 
Returns the cuda memory of the array of face-varying param.
Definition at line 91 of file cudaPatchTable.h.
| 
 | inline | 
Returns the number of face-varying channels buffers.
Definition at line 78 of file cudaPatchTable.h.
| 
 | inline | 
Returns the cuda memory of the array of Osd::PatchArray buffer.
Definition at line 60 of file cudaPatchTable.h.
| 
 | inline | 
Returns the cuda memory of the patch control vertices.
Definition at line 63 of file cudaPatchTable.h.
| 
 | inline | 
Returns the cuda memory of the array of Osd::PatchParam buffer.
Definition at line 66 of file cudaPatchTable.h.
| 
 | inline | 
Returns the cuda memory of the array of Osd::PatchArray buffer.
Definition at line 69 of file cudaPatchTable.h.
| 
 | inline | 
Returns the cuda memory of the array of varying control vertices.
Definition at line 73 of file cudaPatchTable.h.
| 
 | protected | 
Definition at line 108 of file cudaPatchTable.h.
| 
 | protected | 
Definition at line 109 of file cudaPatchTable.h.
| 
 | protected | 
Definition at line 107 of file cudaPatchTable.h.
| 
 | protected | 
Definition at line 101 of file cudaPatchTable.h.
| 
 | protected | 
Definition at line 100 of file cudaPatchTable.h.
| 
 | protected | 
Definition at line 102 of file cudaPatchTable.h.
| 
 | protected | 
Definition at line 105 of file cudaPatchTable.h.
| 
 | protected | 
Definition at line 104 of file cudaPatchTable.h.