OpenSubdiv
|
#include <mtlPatchTable.h>
Public Types | |
typedef id< MTLBuffer > | VertexBufferBinding |
Public Member Functions | |
MTLPatchTable () | |
~MTLPatchTable () | |
PatchArrayVector const & | GetPatchArrays () const |
id< MTLBuffer > | GetPatchIndexBuffer () const |
id< MTLBuffer > | GetPatchParamBuffer () const |
PatchArrayVector const & | GetVaryingPatchArrays () const |
id< MTLBuffer > | GetVaryingPatchIndexBuffer () const |
int | GetNumFVarChannels () const |
PatchArrayVector const & | GetFVarPatchArrays (int fvarChannel=0) const |
id< MTLBuffer > | GetFVarPatchIndexBuffer (int fvarChannel=0) const |
id< MTLBuffer > | GetFVarPatchParamBuffer (int fvarChannel=0) const |
Static Public Member Functions | |
template<typename DEVICE_CONTEXT > | |
static MTLPatchTable * | Create (Far::PatchTable const *farPatchTable, DEVICE_CONTEXT context) |
static MTLPatchTable * | Create (Far::PatchTable const *farPatchTable, MTLContext *context) |
Protected Member Functions | |
bool | allocate (Far::PatchTable const *farPatchTable, MTLContext *context) |
Protected Attributes | |
PatchArrayVector | _patchArrays |
id< MTLBuffer > | _indexBuffer |
id< MTLBuffer > | _patchParamBuffer |
PatchArrayVector | _varyingPatchArrays |
id< MTLBuffer > | _varyingPatchIndexBuffer |
std::vector< PatchArrayVector > | _fvarPatchArrays |
std::vector< id< MTLBuffer > > | _fvarIndexBuffers |
std::vector< id< MTLBuffer > > | _fvarParamBuffers |
Definition at line 46 of file mtlPatchTable.h.
typedef id<MTLBuffer> VertexBufferBinding |
Definition at line 48 of file mtlPatchTable.h.
MTLPatchTable | ( | ) |
~MTLPatchTable | ( | ) |
|
protected |
|
inlinestatic |
Definition at line 54 of file mtlPatchTable.h.
|
static |
|
inline |
Definition at line 69 of file mtlPatchTable.h.
|
inline |
Definition at line 70 of file mtlPatchTable.h.
|
inline |
Definition at line 71 of file mtlPatchTable.h.
|
inline |
Definition at line 68 of file mtlPatchTable.h.
|
inline |
Definition at line 61 of file mtlPatchTable.h.
|
inline |
Definition at line 62 of file mtlPatchTable.h.
|
inline |
Definition at line 63 of file mtlPatchTable.h.
|
inline |
Definition at line 65 of file mtlPatchTable.h.
|
inline |
Definition at line 66 of file mtlPatchTable.h.
|
protected |
Definition at line 86 of file mtlPatchTable.h.
|
protected |
Definition at line 87 of file mtlPatchTable.h.
|
protected |
Definition at line 85 of file mtlPatchTable.h.
|
protected |
Definition at line 78 of file mtlPatchTable.h.
|
protected |
Definition at line 76 of file mtlPatchTable.h.
|
protected |
Definition at line 79 of file mtlPatchTable.h.
|
protected |
Definition at line 81 of file mtlPatchTable.h.
|
protected |
Definition at line 83 of file mtlPatchTable.h.