Per-run data for CVEX execution.
More...
#include <CVEX_Context.h>
template<VEX_Precision PREC>
class CVEX_RunDataT< PREC >
Per-run data for CVEX execution.
This class is used to set and retrieve data specific to an individual execution run using CVEX_Context::run().
- Examples:
- SOP/SOP_PrimVOP.C, and SOP/SOP_PrimVOP.h.
Definition at line 38 of file CVEX_Context.h.
template<VEX_Precision PREC>
template<VEX_Precision PREC>
template<VEX_Precision PREC>
Resets the run data for re-use.
template<VEX_Precision PREC>
template<VEX_Precision PREC>
template<VEX_Precision PREC>
template<VEX_Precision PREC>
template<VEX_Precision PREC>
template<VEX_Precision PREC>
template<VEX_Precision PREC>
Get the cached VEX_Instance, which can be reused for multiple runs until clear() is called. This ensures that local word data (e.g. geometry bindings) remain the same between runs.
template<VEX_Precision PREC>
template<VEX_Precision PREC>
Every VEX function has a transform context associated with it. This transform context is used by VEX functions like ptransform() to provide ways to transform to other spaces (like "space:world" or "space:object"). This method allows you to modify the transform context of this shader.
Definition at line 134 of file CVEX_Context.h.
template<VEX_Precision PREC>
Returns true when, after running the CVEX_Context, a ch() function reported that it was time dependent.
- Examples:
- SOP/SOP_PrimVOP.C.
Definition at line 84 of file CVEX_Context.h.
template<VEX_Precision PREC>
Returns true when, after running the CVEX_Context, a usd_attrib() function reported that it has some time samples (values at time codes).
Definition at line 94 of file CVEX_Context.h.
template<VEX_Precision PREC>
Sets the operator working directory. This is used by ch() style vex functions to determine where the relative path for path resolution should be. Use OP_Node::getUniqueId() to pass this in.
Definition at line 60 of file CVEX_Context.h.
template<VEX_Precision PREC>
template<VEX_Precision PREC>
Sets the geo input callback for controlling how opinput: references are handled
Definition at line 101 of file CVEX_Context.h.
template<VEX_Precision PREC>
Sets the OP callback. This is used to setup dependencies on any referenced op: expressions. Can be applied to the context at any time.
- Examples:
- SOP/SOP_PrimVOP.C.
Definition at line 74 of file CVEX_Context.h.
template<VEX_Precision PREC>
template<VEX_Precision PREC>
Set the evaluation time. This is what will be used by op: references triggered by VEX commands like volumesample. If not set, the current channel time is used instead (if an OP_Director is available).
- Examples:
- SOP/SOP_PrimVOP.C.
Definition at line 50 of file CVEX_Context.h.
template<VEX_Precision PREC>
template<VEX_Precision PREC>
Set flag indicating whether there are any time samples involved.
Definition at line 87 of file CVEX_Context.h.
template<VEX_Precision PREC>
The world id is the node which defines the transform space for the CWD. If it's not defined the object containing the CWD will be used (or the CWD if it's not part of an object network)
Definition at line 67 of file CVEX_Context.h.
template<VEX_Precision PREC>
template<VEX_Precision PREC>
template<VEX_Precision PREC>
template<VEX_Precision PREC>
The documentation for this class was generated from the following file: