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
defineResolver.h File Reference

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

+ Include dependency graph for defineResolver.h:

Go to the source code of this file.

Macros

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

Detailed Description

Macros for defining a custom resolver implementation.

Definition in file defineResolver.h.

Macro Definition Documentation

◆ AR_DEFINE_RESOLVER

#define AR_DEFINE_RESOLVER (   ResolverClass,
  BaseClass1,
  ... 
)

Performs registrations required for the specified 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_RESOLVER(CustomResolverClass, ArResolver);
Interface for the asset resolution system.
Definition: resolver.h:43
#define AR_DEFINE_RESOLVER(ResolverClass, BaseClass1,...)
Performs registrations required for the specified resolver class to be discovered by Ar's plugin mech...

Definition at line 33 of file defineResolver.h.