Loading...
Searching...
No Matches
UsdLodHeuristicQuery Class Reference

This class is the base class of all heuristic query objects. More...

#include <heuristicQuery.h>

+ Inheritance diagram for UsdLodHeuristicQuery:

Public Member Functions

 UsdLodHeuristicQuery (const TfToken &lodDomainIn)
 Construct with an explicit domain.
 
virtual USDLOD_API ~UsdLodHeuristicQuery ()
 Destructor.
 

Public Attributes

TfToken lodDomain
 The LOD domain of this heuristic.
 

Detailed Description

This class is the base class of all heuristic query objects.

These objects contain the state of a heuristic and implement the calculation of LOD children without any dependencies on USD scene data or any USD data types. It is intended to be usable inside a renderer to make fast, run-time LOD decisions without requiring access back to the original USD layers or prims.

This base class contains a domain token, but all actual calculations are required to be implemented in derived classes.

Definition at line 30 of file heuristicQuery.h.

Constructor & Destructor Documentation

◆ UsdLodHeuristicQuery()

UsdLodHeuristicQuery ( const TfToken & lodDomainIn)
inline

Construct with an explicit domain.

Definition at line 44 of file heuristicQuery.h.

◆ ~UsdLodHeuristicQuery()

virtual USDLOD_API ~UsdLodHeuristicQuery ( )
virtual

Destructor.

The destructor is virtual to support RTTI and allow the object to be safely held as a pointer to UsdLodHeuristicQuery.

Member Data Documentation

◆ lodDomain

TfToken lodDomain

The LOD domain of this heuristic.

All heuristics have a domain over which they operate. This serves to further identify the purpose of this heuristic to the renderer. If the renderer is not interested in this domain, it should ignore the heuristic. For example, an audio renderer may ignore heuristics in the imaging domain.

Definition at line 38 of file heuristicQuery.h.


The documentation for this class was generated from the following file: