omni::spectree::v1::IChangeListDelegateFactory
Defined in live/include/omni_spectree/Interfaces.h
-
struct IChangeListDelegateFactory
The change list delegate factory is the means for configuring how inbound modifications to a [spec tree](ISpecTreeClient) will be handled.
If the caller provides a custom method for instancing a [delegate](IChangeListDelegate) then all other options are ignored. If no custom handler is provided then the default delegate behaviors will be used.
Public Types
-
enum Options
Values:
-
enumerator Default
Uses the default Sdf Layer delegate.
-
enumerator AsyncUpdate
True to move the changelist onto a worker thread where asynchronous operations can be performed without impacting the performance of spec tree reconciliation
-
enumerator UseFabric
True to commit changes to Fabric rather than Sdf.
-
enumerator UseFabricGeom
True to use Fabric geometry composition rather than USD.
-
enumerator Default
-
using Handler_t = std::function<IChangeListDelegate*(std::string const &url, IChangeListConsigner &consigner)>
Public Members
-
IChangeListDelegate *(*create)(std::string const &url, IChangeListConsigner &consigner)
Called by the spec tree prior to remote updates being reconciled.
If the value returned is not null then the tree will collect all the reconciled changes and call the CommitChangeListAsync on the delegate.
Public Static Functions
-
static inline constexpr carb::InterfaceDesc getInterfaceDesc()
Returns information about this interface. Auto-generated by CARB_PLUGIN_INTERFACE(). *
- Returns
The carb::InterfaceDesc struct with information about this interface.
-
enum Options