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);
58 return _patchIndexBuffer;
63 return _patchParamBuffer;
68 return _patchIndexTexture;
73 return _patchParamTexture;
95 using namespace OPENSUBDIV_VERSION;
99 #endif // OPENSUBDIV3_OSD_GL_PATCH_TABLE_H GLuint VertexBufferBinding
std::vector< PatchArray > PatchArrayVector
GLuint _patchParamTexture
GLuint GetPatchIndexTextureBuffer() const
Returns the GL texture buffer containing the patch control vertices.
GLuint GetPatchIndexBuffer() const
Returns the GL index buffer containing the patch control vertices.
PatchArrayVector _patchArrays
GLuint GetPatchParamBuffer() const
Returns the GL index buffer containing the patch parameter.
GLuint _patchIndexTexture
Container for arrays of parametric patches.
GLuint GetPatchParamTextureBuffer() const
Returns the GL texture buffer containing the patch parameter.
PatchArrayVector const & GetPatchArrays() const