25 #ifndef OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H
26 #define OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H
28 #include "../version.h"
30 #include "../far/patchTable.h"
31 #include "../osd/nonCopyable.h"
32 #include "../osd/opengl.h"
34 namespace OpenSubdiv {
35 namespace OPENSUBDIV_VERSION {
49 return _vertexTextureBuffer;
53 return _vertexValenceTextureBuffer;
57 return _quadOffsetsTextureBuffer;
62 return _quadOffsetsBase[1];
64 return _quadOffsetsBase[0];
71 GLuint _vertexTextureBuffer;
72 GLuint _vertexValenceTextureBuffer;
73 GLuint _quadOffsetsTextureBuffer;
74 GLuint _quadOffsetsBase[2];
82 using namespace OPENSUBDIV_VERSION;
86 #endif // OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H
void UpdateVertexBuffer(GLuint vbo)
static GLLegacyGregoryPatchTable * Create(Far::PatchTable const *patchTable)
GLuint GetVertexTextureBuffer() const
~GLLegacyGregoryPatchTable()
GLuint GetVertexValenceTextureBuffer() const
GLLegacyGregoryPatchTable()
Container for arrays of parametric patches.
GLuint GetQuadOffsetsBase(Far::PatchDescriptor::Type type)
GLuint GetQuadOffsetsTextureBuffer() const