![]() |
OpenSubdiv
|
#include <glPatchTable.h>
Public Types | |
| using | ID = unsigned int |
| using | VertexBufferBinding = ID |
Public Member Functions | |
| ~GLPatchTable () | |
| PatchArrayVector const & | GetPatchArrays () const |
| Returns the patch arrays for vertex index buffer data. | |
| ID | GetPatchIndexBuffer () const |
| Returns the GL index buffer containing the patch control vertices. | |
| ID | GetPatchParamBuffer () const |
| Returns the GL index buffer containing the patch parameter. | |
| ID | GetPatchIndexTextureBuffer () const |
| Returns the GL texture buffer containing the patch control vertices. | |
| ID | GetPatchParamTextureBuffer () const |
| Returns the GL texture buffer containing the patch parameter. | |
| PatchArrayVector const & | GetVaryingPatchArrays () const |
| Returns the patch arrays for varying index buffer data. | |
| ID | GetVaryingPatchIndexBuffer () const |
| Returns the GL index buffer containing the varying control vertices. | |
| ID | GetVaryingPatchIndexTextureBuffer () const |
| Returns the GL texture buffer containing the varying control vertices. | |
| int | GetNumFVarChannels () const |
| Returns the number of face-varying channel buffers. | |
| PatchArrayVector const & | GetFVarPatchArrays (int fvarChannel=0) const |
| Returns the patch arrays for face-varying index buffer data. | |
| ID | GetFVarPatchIndexBuffer (int fvarChannel=0) const |
| Returns the GL index buffer containing face-varying control vertices. | |
| ID | GetFVarPatchIndexTextureBuffer (int fvarChannel=0) const |
| Returns the GL texture buffer containing face-varying control vertices. | |
| ID | GetFVarPatchParamBuffer (int fvarChannel=0) const |
| Returns the GL index buffer containing face-varying patch params. | |
| ID | GetFVarPatchParamTextureBuffer (int fvarChannel=0) const |
| Returns the GL texture buffer containing face-varying patch params. | |
Static Public Member Functions | |
| static GLPatchTable * | Create (Far::PatchTable const *farPatchTable, void *deviceContext=NULL) |
Protected Member Functions | |
| GLPatchTable () | |
| bool | allocate (Far::PatchTable const *farPatchTable) |
Protected Attributes | |
| PatchArrayVector | _patchArrays |
| ID | _patchIndexBuffer |
| ID | _patchParamBuffer |
| ID | _patchIndexTexture |
| ID | _patchParamTexture |
| PatchArrayVector | _varyingPatchArrays |
| ID | _varyingIndexBuffer |
| ID | _varyingIndexTexture |
| std::vector< PatchArrayVector > | _fvarPatchArrays |
| std::vector< ID > | _fvarIndexBuffers |
| std::vector< ID > | _fvarIndexTextures |
| std::vector< ID > | _fvarParamBuffers |
| std::vector< ID > | _fvarParamTextures |
Definition at line 27 of file glPatchTable.h.
| using ID = unsigned int |
Definition at line 29 of file glPatchTable.h.
| using VertexBufferBinding = ID |
Definition at line 30 of file glPatchTable.h.
| ~GLPatchTable | ( | ) |
|
protected |
|
protected |
|
static |
|
inline |
Returns the patch arrays for face-varying index buffer data.
Definition at line 81 of file glPatchTable.h.
|
inline |
Returns the GL index buffer containing face-varying control vertices.
Definition at line 86 of file glPatchTable.h.
|
inline |
Returns the GL texture buffer containing face-varying control vertices.
Definition at line 91 of file glPatchTable.h.
|
inline |
Returns the GL index buffer containing face-varying patch params.
Definition at line 96 of file glPatchTable.h.
|
inline |
Returns the GL texture buffer containing face-varying patch params.
Definition at line 101 of file glPatchTable.h.
|
inline |
Returns the number of face-varying channel buffers.
Definition at line 78 of file glPatchTable.h.
|
inline |
Returns the patch arrays for vertex index buffer data.
Definition at line 38 of file glPatchTable.h.
|
inline |
Returns the GL index buffer containing the patch control vertices.
Definition at line 43 of file glPatchTable.h.
|
inline |
Returns the GL texture buffer containing the patch control vertices.
Definition at line 53 of file glPatchTable.h.
|
inline |
Returns the GL index buffer containing the patch parameter.
Definition at line 48 of file glPatchTable.h.
|
inline |
Returns the GL texture buffer containing the patch parameter.
Definition at line 58 of file glPatchTable.h.
|
inline |
Returns the patch arrays for varying index buffer data.
Definition at line 63 of file glPatchTable.h.
|
inline |
Returns the GL index buffer containing the varying control vertices.
Definition at line 68 of file glPatchTable.h.
|
inline |
Returns the GL texture buffer containing the varying control vertices.
Definition at line 73 of file glPatchTable.h.
|
protected |
Definition at line 124 of file glPatchTable.h.
|
protected |
Definition at line 125 of file glPatchTable.h.
|
protected |
Definition at line 127 of file glPatchTable.h.
|
protected |
Definition at line 128 of file glPatchTable.h.
|
protected |
Definition at line 123 of file glPatchTable.h.
|
protected |
Definition at line 111 of file glPatchTable.h.
|
protected |
Definition at line 113 of file glPatchTable.h.
|
protected |
Definition at line 116 of file glPatchTable.h.
|
protected |
Definition at line 114 of file glPatchTable.h.
|
protected |
Definition at line 117 of file glPatchTable.h.
|
protected |
Definition at line 120 of file glPatchTable.h.
|
protected |
Definition at line 121 of file glPatchTable.h.
|
protected |
Definition at line 119 of file glPatchTable.h.