![]() |
OpenSubdiv
|
#include <mtlPatchTable.h>
Public Types | |
| using | VertexBufferBinding = id<MTLBuffer> |
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 29 of file mtlPatchTable.h.
| using VertexBufferBinding = id<MTLBuffer> |
Definition at line 31 of file mtlPatchTable.h.
| MTLPatchTable | ( | ) |
| ~MTLPatchTable | ( | ) |
|
protected |
|
inlinestatic |
Definition at line 37 of file mtlPatchTable.h.
|
static |
|
inline |
Definition at line 52 of file mtlPatchTable.h.
|
inline |
Definition at line 53 of file mtlPatchTable.h.
|
inline |
Definition at line 54 of file mtlPatchTable.h.
|
inline |
Definition at line 51 of file mtlPatchTable.h.
|
inline |
Definition at line 44 of file mtlPatchTable.h.
|
inline |
Definition at line 45 of file mtlPatchTable.h.
|
inline |
Definition at line 46 of file mtlPatchTable.h.
|
inline |
Definition at line 48 of file mtlPatchTable.h.
|
inline |
Definition at line 49 of file mtlPatchTable.h.
|
protected |
Definition at line 69 of file mtlPatchTable.h.
|
protected |
Definition at line 70 of file mtlPatchTable.h.
|
protected |
Definition at line 68 of file mtlPatchTable.h.
|
protected |
Definition at line 61 of file mtlPatchTable.h.
|
protected |
Definition at line 59 of file mtlPatchTable.h.
|
protected |
Definition at line 62 of file mtlPatchTable.h.
|
protected |
Definition at line 64 of file mtlPatchTable.h.
|
protected |
Definition at line 66 of file mtlPatchTable.h.