HDK
|
#include <adapterRegistry.h>
Public Member Functions | |
USDIMAGING_API bool | HasAdapter (TfToken const &adapterKey) |
USDIMAGING_API UsdImagingPrimAdapterSharedPtr | ConstructAdapter (TfToken const &adapterKey) |
Static Public Member Functions | |
static USDIMAGING_API bool | AreExternalPluginsEnabled () |
static USDIMAGING_API UsdImagingAdapterRegistry & | GetInstance () |
![]() | |
static UsdImagingAdapterRegistry & | GetInstance () |
static bool | CurrentlyExists () |
static void | SetInstanceConstructed (UsdImagingAdapterRegistry &instance) |
static void | DeleteInstance () |
Friends | |
class | TfSingleton< UsdImagingAdapterRegistry > |
Registry of PrimAdapter plug-ins.
Definition at line 56 of file adapterRegistry.h.
|
static |
Returns true if external plugins are enabled. Internal plugins have isInternal=1 set in their metadata. This flag is only intended to be set for critical imaging plugins (mesh, cube, sphere, curve, etc). This allows users to disable plugins that are crashing or executing slowly.
Driven by by the USDIMAGING_ENABLE_PLUGINS environment variable.
USDIMAGING_API UsdImagingPrimAdapterSharedPtr UsdImagingAdapterRegistry::ConstructAdapter | ( | TfToken const & | adapterKey | ) |
Returns a new instance of the UsdImagingPrimAdapter that has been registered to handle the given adapterKey
. This key is either a prim typename or a key specified in UsdImagingAdapterKeyTokens. Returns NULL if no adapter was registered for this key.
|
inlinestatic |
Definition at line 77 of file adapterRegistry.h.
USDIMAGING_API bool UsdImagingAdapterRegistry::HasAdapter | ( | TfToken const & | adapterKey | ) |
Returns true if an adapter has been registered to handle the given adapterKey
.
|
friend |
Definition at line 58 of file adapterRegistry.h.