11 #ifndef __GU_CESnippet__
12 #define __GU_CESnippet__
40 void resetReferences()
41 { myGdp =
nullptr; myRefVol =
nullptr; }
44 { myAttribs.append(access); }
61 { myAttribs.clear(); myBVHs.clear(); myOSDEvals.clear(); myOSDRefined.clear(); }
void setGdp(GU_Detail *gdp)
void addReference(GA_CEAttributeAccessorPtr access)
Add an accessor as a reference to hold.
const GEO_PrimVolume * myRefVol
UT_Array< CE_BVH > myBVHs
Temporary attribute BVH objects created on demand (TODO: remove).
UT_Array< UT_UniquePtr< GU_OSDEval > > myOSDEvals
OSD evaluators per input, and refined CP buffers per OSD binding.
GU_CESnippetBindOp(GU_Detail *gdp=nullptr)
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
GLuint GLint GLboolean GLint GLenum access
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
UT_SharedPtr< GA_CEAttributeAccessor > GA_CEAttributeAccessorPtr
GLenum GLint GLint * precision
void resetPinnedBuffers()
UT_Array< GA_CEAttributeAccessorPtr > myAttribs
Attribute accessors that are pinned.
A global error manager scope.
UT_Array< UT_UniquePtr< CE_FloatArray > > myOSDRefined
Kernel interface that implements cl_kernel.
void setRefVol(const GEO_PrimVolume *vol)