25 #ifndef OSD_CPU_COMPUTE_CONTEXT_H
26 #define OSD_CPU_COMPUTE_CONTEXT_H
28 #include "../version.h"
30 #include "../osd/nonCopyable.h"
34 namespace OpenSubdiv {
35 namespace OPENSUBDIV_VERSION {
37 namespace Far{
class StencilTables; }
71 return _vertexStencilTables;
76 return _varyingStencilTables;
87 * _varyingStencilTables;
93 using namespace OPENSUBDIV_VERSION;
97 #endif // OSD_CPU_COMPUTE_CONTEXT_H
CpuComputeContext(Far::StencilTables const *vertexStencilTables, Far::StencilTables const *varyingStencilTables=0)
virtual ~CpuComputeContext()
Destructor.
Far::StencilTables const * GetVertexStencilTables() const
Returns the stencils data applied by this context for vertex interpolation.
Table of subdivision stencils.
Far::StencilTables const * GetVaryingStencilTables() const
Returns the stencils data applied by this context for varying interpolation.
static CpuComputeContext * Create(Far::StencilTables const *vertexStencilTables, Far::StencilTables const *varyingStencilTables=0)