|
HDK
|
#include <GU_CESnippet.h>
Public Member Functions | |
| GU_CESnippetBindOp (GU_Detail *gdp=nullptr) | |
| void | resetReferences () |
| Reset the working objects, but leave pinned buffers intact. More... | |
| void | addReference (GA_CEAttributeAccessorPtr access) |
| Add an accessor as a reference to hold. More... | |
| void | setGdp (GU_Detail *gdp) |
| void | setRefVol (const GEO_PrimVolume *vol) |
| bool | requiresHas (const CE_Snippet::Binding &binding, CE_Precision precision) const |
| Is this binding optional, and if so, does it exist in the geometry? More... | |
| bool | operator() (const CE_Snippet::Binding &binding, int p, cl::Kernel &kernel, int &argidx, UT_ErrorManager *error, CE_Precision precision) const |
| void | resetPinnedBuffers () |
Static Public Member Functions | |
| static GA_AttributeOwner | attribClassToOwner (CE_Snippet::BindingAttribClass cls) |
| static CE_Snippet::BindingAttribClass | ownerToAttribClass (GA_AttributeOwner owner) |
Protected Member Functions | |
| bool | setAttribute (const CE_Snippet::Binding &binding, int p, cl::Kernel &kernel, int &argidx, UT_ErrorManager *error, CE_Precision precision) const |
| bool | setVolume (const CE_Snippet::Binding &binding, int p, cl::Kernel &kernel, int &argidx, UT_ErrorManager *error, CE_Precision precision) const |
| bool | setVDB (const CE_Snippet::Binding &binding, int p, cl::Kernel &kernel, int &argidx, UT_ErrorManager *error, CE_Precision precision) const |
Protected Attributes | |
| GU_Detail * | myGdp |
| const GEO_PrimVolume * | myRefVol |
| UT_Array < GA_CEAttributeAccessorPtr > | myAttribs |
| Attribute accessors that are pinned. More... | |
| UT_Array< CE_BVH > | myBVHs |
| Temporary attribute BVH objects created on demand (TODO: remove). More... | |
| UT_Array< UT_UniquePtr < GU_OSDEval > > | myOSDEvals |
| OSD evaluators per input, and refined CP buffers per OSD binding. More... | |
| UT_Array< UT_UniquePtr < CE_FloatArray > > | myOSDRefined |
Definition at line 26 of file GU_CESnippet.h.
|
inline |
Definition at line 29 of file GU_CESnippet.h.
|
inline |
Add an accessor as a reference to hold.
Definition at line 43 of file GU_CESnippet.h.
|
static |
| bool GU_CESnippetBindOp::operator() | ( | const CE_Snippet::Binding & | binding, |
| int | p, | ||
| cl::Kernel & | kernel, | ||
| int & | argidx, | ||
| UT_ErrorManager * | error, | ||
| CE_Precision | precision | ||
| ) | const |
|
static |
| bool GU_CESnippetBindOp::requiresHas | ( | const CE_Snippet::Binding & | binding, |
| CE_Precision | precision | ||
| ) | const |
Is this binding optional, and if so, does it exist in the geometry?
|
inline |
Clear all buffers that were pinned during the binding process Should only be done after the kernel has been dispatched. Usually just let the destructor handle this.
Definition at line 60 of file GU_CESnippet.h.
|
inline |
Reset the working objects, but leave pinned buffers intact.
Definition at line 40 of file GU_CESnippet.h.
|
protected |
Definition at line 46 of file GU_CESnippet.h.
|
inline |
Definition at line 47 of file GU_CESnippet.h.
|
protected |
|
protected |
|
mutableprotected |
Attribute accessors that are pinned.
Definition at line 83 of file GU_CESnippet.h.
Temporary attribute BVH objects created on demand (TODO: remove).
Definition at line 85 of file GU_CESnippet.h.
|
protected |
Definition at line 79 of file GU_CESnippet.h.
|
mutableprotected |
OSD evaluators per input, and refined CP buffers per OSD binding.
Definition at line 87 of file GU_CESnippet.h.
|
mutableprotected |
Definition at line 88 of file GU_CESnippet.h.
|
protected |
Definition at line 80 of file GU_CESnippet.h.