D3D Refine Context. More...
#include <d3d11ComputeContext.h>
Public Member Functions | |
virtual | ~D3D11ComputeContext () |
Destructor. More... | |
bool | HasVertexStencilTables () const |
Returns true if the Context has a 'vertex' interpolation stencil table. More... | |
bool | HasVaryingStencilTables () const |
Returns true if the Context has a 'varying' interpolation stencil table. More... | |
int | GetNumControlVertices () const |
Returns the number of control vertices. More... | |
void | BindVertexStencilTables (ID3D11DeviceContext *deviceContext) const |
void | BindVaryingStencilTables (ID3D11DeviceContext *deviceContext) const |
void | UnbindStencilTables (ID3D11DeviceContext *deviceContext) const |
Static Public Member Functions | |
static D3D11ComputeContext * | Create (ID3D11DeviceContext *deviceContext, Far::StencilTables const *vertexStencilTables, Far::StencilTables const *varyingStencilTables=0) |
Protected Member Functions | |
D3D11ComputeContext (ID3D11DeviceContext *deviceContext, Far::StencilTables const *vertexStencilTables, Far::StencilTables const *varyingStencilTables) | |
Protected Member Functions inherited from NonCopyable< D3D11ComputeContext > | |
NonCopyable () | |
~NonCopyable () | |
D3D Refine Context.
The D3D implementation of the Refine module contextual functionality.
Contexts interface the serialized topological data pertaining to the geometric primitives with the capabilities of the selected discrete compute device.
Definition at line 50 of file d3d11ComputeContext.h.
|
virtual |
Destructor.
|
explicitprotected |
void BindVaryingStencilTables | ( | ID3D11DeviceContext * | deviceContext | ) | const |
Binds D3D11 buffers containing stencils for 'varying' interpolation
deviceContext | The D3D device |
void BindVertexStencilTables | ( | ID3D11DeviceContext * | deviceContext | ) | const |
Binds D3D11 buffers containing stencils for 'vertex' interpolation
deviceContext | The D3D device |
|
static |
Creates an D3D11ComputeContext instance
vertexStencilTables | The Far::StencilTables used for vertex interpolation |
varyingStencilTables | The Far::StencilTables used for varying interpolation |
deviceContext | The D3D device |
|
inline |
Returns the number of control vertices.
Definition at line 77 of file d3d11ComputeContext.h.
bool HasVaryingStencilTables | ( | ) | const |
Returns true if the Context has a 'varying' interpolation stencil table.
bool HasVertexStencilTables | ( | ) | const |
Returns true if the Context has a 'vertex' interpolation stencil table.
void UnbindStencilTables | ( | ID3D11DeviceContext * | deviceContext | ) | const |
Unbinds D3D11 stencil buffers
deviceContext | The D3D device |