25 #ifndef OPENSUBDIV3_OSD_CPU_PATCH_TABLE_H
26 #define OPENSUBDIV3_OSD_CPU_PATCH_TABLE_H
28 #include "../version.h"
31 #include "../far/patchDescriptor.h"
32 #include "../osd/nonCopyable.h"
33 #include "../osd/types.h"
36 namespace OPENSUBDIV_VERSION {
60 void *deviceContext = NULL) {
97 using namespace OPENSUBDIV_VERSION;
101 #endif // OPENSUBDIV3_OSD_CPU_PATCH_TABLE_H
CpuPatchTable(const Far::PatchTable *patchTable)
const PatchArray * GetPatchArrayBuffer() const
std::vector< PatchArray > PatchArrayVector
PatchArrayVector _patchArrays
std::vector< PatchParam > PatchParamVector
PatchParamVector _patchParamBuffer
size_t GetPatchParamSize() const
std::vector< int > _indexBuffer
size_t GetNumPatchArrays() const
Container for arrays of parametric patches.
size_t GetPatchIndexSize() const
const int * GetPatchIndexBuffer() const
static CpuPatchTable * Create(const Far::PatchTable *patchTable, void *deviceContext=NULL)
const PatchParam * GetPatchParamBuffer() const