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"
35namespace OPENSUBDIV_VERSION {
40 :
private NonCopyable<GLLegacyGregoryPatchTable> {
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];
82using namespace OPENSUBDIV_VERSION;
Container for arrays of parametric patches.
GLuint GetVertexValenceTextureBuffer() const
GLuint GetQuadOffsetsTextureBuffer() const
~GLLegacyGregoryPatchTable()
GLLegacyGregoryPatchTable()
void UpdateVertexBuffer(GLuint vbo)
GLuint GetQuadOffsetsBase(Far::PatchDescriptor::Type type)
GLuint GetVertexTextureBuffer() const
static GLLegacyGregoryPatchTable * Create(Far::PatchTable const *patchTable)