Functions

IChangeListDelegateFactory::Options omni::spectree::operator|(const IChangeListDelegateFactory::Options lhs, const IChangeListDelegateFactory::Options rhs)

IChangeListDelegateFactory::Options & omni::spectree::operator|=(IChangeListDelegateFactory::Options &lhs, const IChangeListDelegateFactory::Options rhs)

std::pair< PXR_NS::SdfLayerRefPtr, std::weak_ptr< ISpecTreeClient > > omni::spectree::utils::CreateNew(const std::string &layerUrl, IChangeListDelegate *changeListDelegate=nullptr)

Creates a live layer and tree.

std::tuple< PXR_NS::UsdStageRefPtr, PXR_NS::SdfLayerRefPtr, std::weak_ptr< ISpecTreeClient > > omni::spectree::utils::CreateWithStage(const std::string &stageUrl, const std::string &layerUrl, const bool addToStageCache=true, IChangeListDelegate *changeListDelegate=nullptr)

Creates a UsdStage and live layer and optionally adds the stage to the UsdUtilsStageCache.

std::pair< PXR_NS::SdfLayerRefPtr, std::weak_ptr< ISpecTreeClient > > omni::spectree::utils::Open(const std::string &layerUrl, IChangeListDelegate *changeListDelegate=nullptr)

Opens a live layer.

std::tuple< PXR_NS::UsdStageRefPtr, PXR_NS::SdfLayerRefPtr, std::weak_ptr< ISpecTreeClient > > omni::spectree::utils::OpenWithStage(const std::string &stageUrl, const std::string &layerUrl, const bool addToStageCache=true, IChangeListDelegate *changeListDelegate=nullptr)

Opens a UsdStage and live layer and optionally adds the stage to the UsdUtilsStageCache.

const char * omniUsdResolverGetVersionString()

Return a human readable string of the version of this USD resolver.

uint32_t omniUsdResolverRegisterEventCallback(void *userData, OmniUsdResolverEventCallback callback)

Register a function that will be called any time something interesting happens.

void omniUsdResolverSetCheckpointMessage(const char *message)

Sets the message that will be used by all atomic checkpoints created when saving USD files in Nucleus.

void omniUsdResolverSetMdlBuiltins(char const **builtins, size_t numBuiltins)

Set a list of built-in MDLs.

void omniUsdResolverUnregisterCallback(uint32_t handle)

Unregister a previously registered callback.