25 #ifndef OPENSUBDIV3_OSD_GL_PATCH_TABLE_H
26 #define OPENSUBDIV3_OSD_GL_PATCH_TABLE_H
28 #include "../version.h"
30 #include "../osd/nonCopyable.h"
31 #include "../osd/opengl.h"
32 #include "../osd/types.h"
35 namespace OPENSUBDIV_VERSION {
50 void *deviceContext = NULL);
95 using namespace OPENSUBDIV_VERSION;
99 #endif // OPENSUBDIV3_OSD_GL_PATCH_TABLE_H
std::vector< PatchArray > PatchArrayVector
PatchArrayVector _patchArrays
GLuint GetPatchParamBuffer() const
Returns the GL index buffer containing the patch parameter.
GLuint _patchIndexTexture
GLuint _patchParamTexture
GLuint GetPatchIndexTextureBuffer() const
Returns the GL texture buffer containing the patch control vertices.
GLuint GetPatchParamTextureBuffer() const
Returns the GL texture buffer containing the patch parameter.
GLuint VertexBufferBinding
Container for arrays of parametric patches.
static GLPatchTable * Create(Far::PatchTable const *farPatchTable, void *deviceContext=NULL)
GLuint GetPatchIndexBuffer() const
Returns the GL index buffer containing the patch control vertices.
PatchArrayVector const & GetPatchArrays() const
bool allocate(Far::PatchTable const *farPatchTable)