HDK
|
#include <GU_SopResolver.h>
Classes | |
class | ClearCB |
Public Member Functions | |
GU_VexGeoInputs () | |
~GU_VexGeoInputs () override | |
void | clear () |
const GU_Detail * | peekInput (int idx) const |
const GU_Detail * | getInput (int idx) const |
void | setInput (int idx, const GU_Detail *gdp) |
void | addClearCB (ClearCB *cb) |
void * | getVexCache (int idx) const |
void * | getVexCache (const UT_StringRef &key) const |
void | setVexCache (int idx, void *cache) |
void | setVexCache (const UT_StringRef &key, void *cache) |
exint | minInputIdx () const |
exint | maxInputIdx () const |
Public Member Functions inherited from VEX_GeoInputs | |
VEX_GeoInputs () | |
virtual | ~VEX_GeoInputs () |
Protected Attributes | |
UT_Array< const GU_Detail * > | myPosInputCache |
UT_Array< const GU_Detail * > | myNegInputCache |
UT_Array< void * > | myPosVexGeoCache |
UT_Array< void * > | myNegVexGeoCache |
UT_StringMap< void * > | myVexGeoCacheMap |
UT_ValArray< ClearCB * > | myClearCBList |
Definition at line 24 of file GU_SopResolver.h.
GU_VexGeoInputs::GU_VexGeoInputs | ( | ) |
|
override |
Adds a callback to be invoked when the GU_VexGeoInputs is destroyed.
Definition at line 83 of file GU_SopResolver.h.
void GU_VexGeoInputs::clear | ( | ) |
Clear the geometry inputs. Note that this should be done before the VEX_Instance is released (e.g. via CVEX_RunData::clear()) to avoid reusing a VEX_Instance with stale geometry inputs.
Definition at line 54 of file GU_SopResolver.h.
The GVEX layer stores the cache for the input in these structures, this ensures each invocation of VEX will have its own cache. The GU_VexGeoInputs should thus be shared across threads to ensure separate threads use the same cache (so point clouds are not built twice, etc)
Definition at line 93 of file GU_SopResolver.h.
|
inline |
Definition at line 103 of file GU_SopResolver.h.
|
inline |
Definition at line 146 of file GU_SopResolver.h.
|
inline |
Valid ranges are inclusive from minInputIdx to maXInputIdx. Note this can be negative!
Definition at line 145 of file GU_SopResolver.h.
When originally designed the idea was to allow delayed discovery of VEX inputs. In practice this proves infeasible, so we mandate all inputs are cooked & stored prior to execution. peekInput() and getInput() thus become equivalent.
Definition at line 50 of file GU_SopResolver.h.
Does not gain ownership of gdp, the caller should keep it in scope until destruction
Definition at line 66 of file GU_SopResolver.h.
Definition at line 112 of file GU_SopResolver.h.
|
inline |
Definition at line 133 of file GU_SopResolver.h.
|
protected |
Definition at line 158 of file GU_SopResolver.h.
Definition at line 152 of file GU_SopResolver.h.
Definition at line 154 of file GU_SopResolver.h.
Definition at line 151 of file GU_SopResolver.h.
Definition at line 153 of file GU_SopResolver.h.
|
mutableprotected |
Definition at line 155 of file GU_SopResolver.h.