All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
GLPatchTable Class Reference

#include <glPatchTable.h>

Inheritance diagram for GLPatchTable:
NonCopyable< GLPatchTable >

Public Types

typedef GLuint VertexBufferBinding
 

Public Member Functions

 ~GLPatchTable ()
 
PatchArrayVector const & GetPatchArrays () const
 Returns the patch arrays for vertex index buffer data. More...
 
GLuint GetPatchIndexBuffer () const
 Returns the GL index buffer containing the patch control vertices. More...
 
GLuint GetPatchParamBuffer () const
 Returns the GL index buffer containing the patch parameter. More...
 
GLuint GetPatchIndexTextureBuffer () const
 Returns the GL texture buffer containing the patch control vertices. More...
 
GLuint GetPatchParamTextureBuffer () const
 Returns the GL texture buffer containing the patch parameter. More...
 
PatchArrayVector const & GetVaryingPatchArrays () const
 Returns the patch arrays for varying index buffer data. More...
 
GLuint GetVaryingPatchIndexBuffer () const
 Returns the GL index buffer containing the varying control vertices. More...
 
GLuint GetVaryingPatchIndexTextureBuffer () const
 Returns the GL texture buffer containing the varying control vertices. More...
 
int GetNumFVarChannels () const
 Returns the number of face-varying channel buffers. More...
 
PatchArrayVector const & GetFVarPatchArrays (int fvarChannel=0) const
 Returns the patch arrays for face-varying index buffer data. More...
 
GLuint GetFVarPatchIndexBuffer (int fvarChannel=0) const
 Returns the GL index buffer containing face-varying control vertices. More...
 
GLuint GetFVarPatchIndexTextureBuffer (int fvarChannel=0) const
 Returns the GL texture buffer containing face-varying control vertices. More...
 
GLuint GetFVarPatchParamBuffer (int fvarChannel=0) const
 Returns the GL index buffer containing face-varying patch params. More...
 
GLuint GetFVarPatchParamTextureBuffer (int fvarChannel=0) const
 Returns the GL texture buffer containing face-varying patch params. More...
 

Static Public Member Functions

static GLPatchTableCreate (Far::PatchTable const *farPatchTable, void *deviceContext=NULL)
 

Protected Member Functions

 GLPatchTable ()
 
bool allocate (Far::PatchTable const *farPatchTable)
 

Protected Attributes

PatchArrayVector _patchArrays
 
GLuint _patchIndexBuffer
 
GLuint _patchParamBuffer
 
GLuint _patchIndexTexture
 
GLuint _patchParamTexture
 
PatchArrayVector _varyingPatchArrays
 
GLuint _varyingIndexBuffer
 
GLuint _varyingIndexTexture
 
std::vector< PatchArrayVector_fvarPatchArrays
 
std::vector< GLuint > _fvarIndexBuffers
 
std::vector< GLuint > _fvarIndexTextures
 
std::vector< GLuint > _fvarParamBuffers
 
std::vector< GLuint > _fvarParamTextures
 

Detailed Description

Definition at line 45 of file glPatchTable.h.

Member Typedef Documentation

typedef GLuint VertexBufferBinding

Definition at line 47 of file glPatchTable.h.

Constructor & Destructor Documentation

GLPatchTable ( )
protected

Member Function Documentation

bool allocate ( Far::PatchTable const *  farPatchTable)
protected
static GLPatchTable* Create ( Far::PatchTable const *  farPatchTable,
void *  deviceContext = NULL 
)
static
PatchArrayVector const& GetFVarPatchArrays ( int  fvarChannel = 0) const
inline

Returns the patch arrays for face-varying index buffer data.

Definition at line 98 of file glPatchTable.h.

GLuint GetFVarPatchIndexBuffer ( int  fvarChannel = 0) const
inline

Returns the GL index buffer containing face-varying control vertices.

Definition at line 103 of file glPatchTable.h.

GLuint GetFVarPatchIndexTextureBuffer ( int  fvarChannel = 0) const
inline

Returns the GL texture buffer containing face-varying control vertices.

Definition at line 108 of file glPatchTable.h.

GLuint GetFVarPatchParamBuffer ( int  fvarChannel = 0) const
inline

Returns the GL index buffer containing face-varying patch params.

Definition at line 113 of file glPatchTable.h.

GLuint GetFVarPatchParamTextureBuffer ( int  fvarChannel = 0) const
inline

Returns the GL texture buffer containing face-varying patch params.

Definition at line 118 of file glPatchTable.h.

int GetNumFVarChannels ( ) const
inline

Returns the number of face-varying channel buffers.

Definition at line 95 of file glPatchTable.h.

PatchArrayVector const& GetPatchArrays ( ) const
inline

Returns the patch arrays for vertex index buffer data.

Definition at line 55 of file glPatchTable.h.

GLuint GetPatchIndexBuffer ( ) const
inline

Returns the GL index buffer containing the patch control vertices.

Definition at line 60 of file glPatchTable.h.

GLuint GetPatchIndexTextureBuffer ( ) const
inline

Returns the GL texture buffer containing the patch control vertices.

Definition at line 70 of file glPatchTable.h.

GLuint GetPatchParamBuffer ( ) const
inline

Returns the GL index buffer containing the patch parameter.

Definition at line 65 of file glPatchTable.h.

GLuint GetPatchParamTextureBuffer ( ) const
inline

Returns the GL texture buffer containing the patch parameter.

Definition at line 75 of file glPatchTable.h.

PatchArrayVector const& GetVaryingPatchArrays ( ) const
inline

Returns the patch arrays for varying index buffer data.

Definition at line 80 of file glPatchTable.h.

GLuint GetVaryingPatchIndexBuffer ( ) const
inline

Returns the GL index buffer containing the varying control vertices.

Definition at line 85 of file glPatchTable.h.

GLuint GetVaryingPatchIndexTextureBuffer ( ) const
inline

Returns the GL texture buffer containing the varying control vertices.

Definition at line 90 of file glPatchTable.h.

Member Data Documentation

std::vector<GLuint> _fvarIndexBuffers
protected

Definition at line 141 of file glPatchTable.h.

std::vector<GLuint> _fvarIndexTextures
protected

Definition at line 142 of file glPatchTable.h.

std::vector<GLuint> _fvarParamBuffers
protected

Definition at line 144 of file glPatchTable.h.

std::vector<GLuint> _fvarParamTextures
protected

Definition at line 145 of file glPatchTable.h.

std::vector<PatchArrayVector> _fvarPatchArrays
protected

Definition at line 140 of file glPatchTable.h.

PatchArrayVector _patchArrays
protected

Definition at line 128 of file glPatchTable.h.

GLuint _patchIndexBuffer
protected

Definition at line 130 of file glPatchTable.h.

GLuint _patchIndexTexture
protected

Definition at line 133 of file glPatchTable.h.

GLuint _patchParamBuffer
protected

Definition at line 131 of file glPatchTable.h.

GLuint _patchParamTexture
protected

Definition at line 134 of file glPatchTable.h.

GLuint _varyingIndexBuffer
protected

Definition at line 137 of file glPatchTable.h.

GLuint _varyingIndexTexture
protected

Definition at line 138 of file glPatchTable.h.

PatchArrayVector _varyingPatchArrays
protected

Definition at line 136 of file glPatchTable.h.


The documentation for this class was generated from the following file: