This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
definePackageResolver.h File Reference

Macros for defining a package resolver implementation. More...

+ Include dependency graph for definePackageResolver.h:

Go to the source code of this file.

Macros

#define AR_DEFINE_PACKAGE_RESOLVER(PackageResolverClass, BaseClass1, ...)
 Performs registrations required for the specified package resolver class to be discovered by Ar's plugin mechanism.
 

Detailed Description

Macros for defining a package resolver implementation.

Definition in file definePackageResolver.h.

Macro Definition Documentation

◆ AR_DEFINE_PACKAGE_RESOLVER

#define AR_DEFINE_PACKAGE_RESOLVER (   PackageResolverClass,
  BaseClass1,
  ... 
)

Performs registrations required for the specified package resolver class to be discovered by Ar's plugin mechanism.

This typically would be invoked in the source file defining the resolver class. For example:

// in .cpp file
AR_DEFINE_PACKAGE_RESOLVER(CustomPackageResolverClass, ArPackageResolver);
Interface for resolving assets within package assets.
#define AR_DEFINE_PACKAGE_RESOLVER(PackageResolverClass, BaseClass1,...)
Performs registrations required for the specified package resolver class to be discovered by Ar's plu...

Definition at line 33 of file definePackageResolver.h.