All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
D3D11ComputeContext Class Reference

D3D Refine Context. More...

#include <d3d11ComputeContext.h>

Inheritance diagram for D3D11ComputeContext:
NonCopyable< D3D11ComputeContext >

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 D3D11ComputeContextCreate (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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

virtual ~D3D11ComputeContext ( )
virtual

Destructor.

D3D11ComputeContext ( ID3D11DeviceContext *  deviceContext,
Far::StencilTables const *  vertexStencilTables,
Far::StencilTables const *  varyingStencilTables 
)
explicitprotected

Member Function Documentation

void BindVaryingStencilTables ( ID3D11DeviceContext *  deviceContext) const

Binds D3D11 buffers containing stencils for 'varying' interpolation

Parameters
deviceContextThe D3D device
void BindVertexStencilTables ( ID3D11DeviceContext *  deviceContext) const

Binds D3D11 buffers containing stencils for 'vertex' interpolation

Parameters
deviceContextThe D3D device
static D3D11ComputeContext* Create ( ID3D11DeviceContext *  deviceContext,
Far::StencilTables const *  vertexStencilTables,
Far::StencilTables const *  varyingStencilTables = 0 
)
static

Creates an D3D11ComputeContext instance

Parameters
vertexStencilTablesThe Far::StencilTables used for vertex interpolation
varyingStencilTablesThe Far::StencilTables used for varying interpolation
deviceContextThe D3D device
int GetNumControlVertices ( ) const
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

Parameters
deviceContextThe D3D device

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