#include <mesh.h>
Public Types | |
typedef VERTEX_BUFFER | VertexBuffer |
typedef COMPUTE_CONTROLLER | ComputeController |
typedef ComputeController::ComputeContext | ComputeContext |
typedef DRAW_CONTEXT | DrawContext |
typedef DrawContext::VertexBufferBinding | VertexBufferBinding |
Public Types inherited from MeshInterface< DRAW_CONTEXT > | |
typedef DRAW_CONTEXT | DrawContext |
typedef DrawContext::VertexBufferBinding | VertexBufferBinding |
Public Member Functions | |
Mesh (ComputeController *computeController, Far::TopologyRefiner *refiner, int numVertexElements, int numVaryingElements, int level, MeshBitset bits=MeshBitset()) | |
Mesh (ComputeController *computeController, Far::TopologyRefiner *refiner, VertexBuffer *vertexBuffer, VertexBuffer *varyingBuffer, ComputeContext *computeContext, DrawContext *drawContext) | |
virtual | ~Mesh () |
virtual int | GetNumVertices () const |
virtual void | UpdateVertexBuffer (float const *vertexData, int startVertex, int numVerts) |
virtual void | UpdateVaryingBuffer (float const *varyingData, int startVertex, int numVerts) |
virtual void | Refine () |
virtual void | Refine (VertexBufferDescriptor const *vertexDesc, VertexBufferDescriptor const *varyingDesc) |
virtual void | Synchronize () |
virtual VertexBufferBinding | BindVertexBuffer () |
virtual VertexBufferBinding | BindVaryingBuffer () |
virtual DrawContext * | GetDrawContext () |
virtual void | SetFVarDataChannel (int fvarWidth, std::vector< float > const &fvarData) |
Public Member Functions inherited from MeshInterface< DRAW_CONTEXT > | |
MeshInterface () | |
virtual | ~MeshInterface () |
virtual void | Refine (VertexBufferDescriptor const *vertexDesc, VertexBufferDescriptor const *varyingDesc, bool interleaved)=0 |
Additional Inherited Members | |
Static Protected Member Functions inherited from MeshInterface< DRAW_CONTEXT > | |
static int | getNumVertices (Far::TopologyRefiner const &refiner) |
static void | refineMesh (Far::TopologyRefiner &refiner, int level, bool adaptive) |
typedef ComputeController::ComputeContext ComputeContext |
typedef COMPUTE_CONTROLLER ComputeController |
typedef DRAW_CONTEXT DrawContext |
typedef VERTEX_BUFFER VertexBuffer |
typedef DrawContext::VertexBufferBinding VertexBufferBinding |
|
inline |
|
inline |
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
|
inlinevirtual |
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.