|
HDK
|
#include <rawValueAccessor.h>
Inheritance diagram for VdfRawValueAccessor:Public Member Functions | |
| VdfRawValueAccessor (const VdfContext &context) | |
| VDF_API const VdfVector * | GetInputVector (const VdfInput &input, VdfMask *mask=nullptr) const |
| VDF_API void | SetOutputVector (const VdfOutput &output, const VdfMask &mask, const VdfVector &value) |
| VDF_API void | SetOutputVector (const VdfOutput &output, const VdfMask &mask, VdfVector &&value) |
Additional Inherited Members | |
Protected Member Functions inherited from VdfIterator | |
| ~VdfIterator ()=default | |
| const VdfNode & | _GetNode (const VdfContext &context) const |
| const VdfExecutorInterface & | _GetExecutor (const VdfContext &context) const |
| VDF_API const VdfVector * | _GetInputValue (const VdfContext &context, const VdfConnection &connection, const VdfMask &mask) const |
| VDF_API const VdfVector & | _GetRequiredInputValue (const VdfContext &context, const VdfConnection &connection, const VdfMask &mask) const |
| VDF_API const VdfOutput * | _GetRequiredOutputForWriting (const VdfContext &context, const TfToken &name) const |
| VDF_API VdfVector * | _GetOutputValueForWriting (const VdfContext &context, const VdfOutput &output) const |
| VDF_API bool | _GetOutputMasks (const VdfContext &context, const VdfOutput &output, const VdfMask **requestMask, const VdfMask **affectsMask) const |
| VDF_API bool | _IsRequiredInput (const VdfContext &context, const VdfConnection &connection) const |
| VDF_API const VdfMask * | _GetRequestMask (const VdfContext &context, const VdfOutput &output) const |
| VDF_API void | _ForEachScheduledOutput (const VdfContext &context, const VdfNode &node, const VdfScheduledOutputCallback &callback) const |
This class grants special access to the raw VdfVector data associated with inputs and outputs on a VdfNode.
Note, that input and output data is typically accessed using the VdfContext. In some special cases, nodes may require type-agnostic access to the entire VdfVector stored for a specific input or output.
We do not want this class to be used in typical plugin code (mover, gprims, etc.), thus inputs and outputs are referred to using VdfInput and VdfOutput instances, rather than name tokens. Only classes derived from VdfNode will typically have access to these objects.
Definition at line 39 of file rawValueAccessor.h.
|
inline |
Constructs a VdfRawValueAccessor from a VdfContext.
Definition at line 45 of file rawValueAccessor.h.
| VDF_API void VdfRawValueAccessor::SetOutputVector | ( | const VdfOutput & | output, |
| const VdfMask & | mask, | ||
| VdfVector && | value | ||
| ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.