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

CPU Compute Context. More...

#include <cpuComputeContext.h>

Inheritance diagram for CpuComputeContext:
NonCopyable< CpuComputeContext >

Public Member Functions

virtual ~CpuComputeContext ()
 Destructor. More...
 
Far::StencilTables const * GetVertexStencilTables () const
 Returns the stencils data applied by this context for vertex interpolation. More...
 
Far::StencilTables const * GetVaryingStencilTables () const
 Returns the stencils data applied by this context for varying interpolation. More...
 

Static Public Member Functions

static CpuComputeContextCreate (Far::StencilTables const *vertexStencilTables, Far::StencilTables const *varyingStencilTables=0)
 

Protected Member Functions

 CpuComputeContext (Far::StencilTables const *vertexStencilTables, Far::StencilTables const *varyingStencilTables=0)
 

Additional Inherited Members

Detailed Description

CPU Compute Context.

The CPU implementation of the Compute module contextual functionality.

The Osd Compute module provides functionality to interpolate primitive variable data according to a subdivision scheme.

Contexts provide an interface between the serialized topological data of a geometric primitive and the computation resources of a compute device.

Definition at line 52 of file cpuComputeContext.h.

Constructor & Destructor Documentation

virtual ~CpuComputeContext ( )
virtual

Destructor.

CpuComputeContext ( Far::StencilTables const *  vertexStencilTables,
Far::StencilTables const *  varyingStencilTables = 0 
)
explicitprotected

Member Function Documentation

static CpuComputeContext* Create ( Far::StencilTables const *  vertexStencilTables,
Far::StencilTables const *  varyingStencilTables = 0 
)
static

Creates an CpuComputeContext instance

Parameters
vertexStencilTablesThe Far::StencilTables used for vertex interpolation
varyingStencilTablesThe Far::StencilTables used for varying interpolation
Far::StencilTables const* GetVaryingStencilTables ( ) const
inline

Returns the stencils data applied by this context for varying interpolation.

Definition at line 75 of file cpuComputeContext.h.

Far::StencilTables const* GetVertexStencilTables ( ) const
inline

Returns the stencils data applied by this context for vertex interpolation.

Definition at line 70 of file cpuComputeContext.h.


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