#include <d3d11Mesh.h>
Public Types | |
typedef D3D11VertexBuffer | VertexBuffer |
typedef D3D11ComputeController | ComputeController |
typedef ComputeController::ComputeContext | ComputeContext |
typedef D3D11DrawContext | 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, ID3D11DeviceContext *d3d11DeviceContext) | |
Mesh (ComputeController *computeController, Far::TopologyRefiner *refiner, VertexBuffer *vertexBuffer, VertexBuffer *varyingBuffer, ComputeContext *computeContext, DrawContext *drawContext, ID3D11DeviceContext *d3d11DeviceContext) | |
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, bool interleaved) |
virtual void | Synchronize () |
virtual VertexBufferBinding | BindVertexBuffer () |
virtual VertexBufferBinding | BindVaryingBuffer () |
virtual DrawContext * | GetDrawContext () |
virtual VertexBuffer * | GetVertexBuffer () |
virtual VertexBuffer * | GetVaryingBuffer () |
virtual Far::TopologyRefiner const * | GetTopologyRefiner () const |
virtual void | SetFVarDataChannel (int fvarWidth, std::vector< float > const &fvarData) |
Public Member Functions inherited from MeshInterface< DRAW_CONTEXT > | |
MeshInterface () | |
virtual | ~MeshInterface () |
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) |
Definition at line 246 of file d3d11Mesh.h.
Definition at line 250 of file d3d11Mesh.h.
Definition at line 249 of file d3d11Mesh.h.
typedef D3D11DrawContext DrawContext |
Definition at line 251 of file d3d11Mesh.h.
typedef D3D11VertexBuffer VertexBuffer |
Definition at line 248 of file d3d11Mesh.h.
Definition at line 252 of file d3d11Mesh.h.
|
inline |
Definition at line 254 of file d3d11Mesh.h.
|
inline |
Definition at line 281 of file d3d11Mesh.h.
|
inlinevirtual |
Definition at line 300 of file d3d11Mesh.h.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
Definition at line 333 of file d3d11Mesh.h.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
Definition at line 330 of file d3d11Mesh.h.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
Definition at line 336 of file d3d11Mesh.h.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
Definition at line 309 of file d3d11Mesh.h.
|
inlinevirtual |
Definition at line 346 of file d3d11Mesh.h.
|
inlinevirtual |
Definition at line 342 of file d3d11Mesh.h.
|
inlinevirtual |
Definition at line 339 of file d3d11Mesh.h.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
Definition at line 317 of file d3d11Mesh.h.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
Definition at line 320 of file d3d11Mesh.h.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
Definition at line 350 of file d3d11Mesh.h.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
Definition at line 327 of file d3d11Mesh.h.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
Definition at line 314 of file d3d11Mesh.h.
|
inlinevirtual |
Implements MeshInterface< DRAW_CONTEXT >.
Definition at line 311 of file d3d11Mesh.h.