#include <mesh.h>
Public Types | |
typedef DRAW_CONTEXT | DrawContext |
typedef DrawContext::VertexBufferBinding | VertexBufferBinding |
Public Member Functions | |
MeshInterface () | |
virtual | ~MeshInterface () |
virtual int | GetNumVertices () const =0 |
virtual void | UpdateVertexBuffer (float const *vertexData, int startVertex, int numVerts)=0 |
virtual void | UpdateVaryingBuffer (float const *varyingData, int startVertex, int numVerts)=0 |
virtual void | Refine ()=0 |
virtual void | Refine (VertexBufferDescriptor const *vertexDesc, VertexBufferDescriptor const *varyingDesc, bool interleaved)=0 |
virtual void | Synchronize ()=0 |
virtual DrawContext * | GetDrawContext ()=0 |
virtual VertexBufferBinding | BindVertexBuffer ()=0 |
virtual VertexBufferBinding | BindVaryingBuffer ()=0 |
virtual void | SetFVarDataChannel (int fvarWidth, std::vector< float > const &fvarData)=0 |
Static Protected Member Functions | |
static int | getNumVertices (Far::TopologyRefiner const &refiner) |
static void | refineMesh (Far::TopologyRefiner &refiner, int level, bool adaptive) |
typedef DRAW_CONTEXT DrawContext |
typedef DrawContext::VertexBufferBinding VertexBufferBinding |
|
inline |
|
inlinevirtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inlinestaticprotected |
|
pure virtual |
|
pure virtual |
|
inlinestaticprotected |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |