7#ifndef PXR_USD_USD_RESOLVE_INFO_H
8#define PXR_USD_USD_RESOLVE_INFO_H
13#include "pxr/usd/usd/api.h"
15#include "pxr/base/ts/spline.h"
17#include "pxr/usd/sdf/path.h"
18#include "pxr/usd/pcp/node.h"
26PXR_NAMESPACE_OPEN_SCOPE
59 , _valueIsBlocked(
false)
60 , _defaultCanCompose(
false)
61 , _defaultCanComposeOverWeakerTimeVaryingSources(
false)
119 return _valueIsBlocked;
142 _defaultCanComposeOverWeakerTimeVaryingSources;
154 return static_cast<bool>(_nextWeaker);
163 return _nextWeaker.get();
182 PcpLayerStackPtr _layerStack;
190 SdfLayerHandle _layer;
217 std::optional<TsSpline> _spline;
221 std::shared_ptr<UsdResolveInfo> _nextWeaker;
229 bool _valueIsBlocked;
233 bool _defaultCanCompose;
238 bool _defaultCanComposeOverWeakerTimeVaryingSources;
243 friend class UsdStage_ResolveInfoAccess;
244 friend class Usd_Resolver;
248PXR_NAMESPACE_CLOSE_SCOPE
Represents a stack of layers that contribute opinions to composition.
PcpNode represents a node in an expression tree for compositing scene description.
Represents a time offset and scale between layers.
A path value used to locate objects in layers or scenegraphs.
Scenegraph object for authoring and retrieving numeric, string, and array valued data,...
Object for efficiently making repeated queries for attribute values.
Container for information about the source of an attribute's value, i.e.
bool ValueSourceMightBeTimeVarying() const
Return true if the resolve info value source might be time-varying; false otherwise.
bool ValueIsBlocked() const
Return true if this UsdResolveInfo represents an attribute whose value is blocked.
UsdResolveInfoSource GetSource() const
Return some information about the source of the associated attribute's value.
PcpNodeRef GetNode() const
Return the node within the containing PcpPrimIndex that provided the resolved value opinion.
bool HasAuthoredValue() const
Return true if this UsdResolveInfo represents an attribute that has an authored value that is not blo...
bool HasAuthoredValueOpinion() const
Return true if this UsdResolveInfo represents an attribute that has an authored value opinion.
UsdResolveInfo const * GetNextWeakerInfo() const
If this object was returned by a call to the UsdAttribute::GetResolve() overload that takes a time an...
bool HasNextWeakerInfo() const
If this object was returned by a call to the UsdAttribute::GetResolve() overload that takes a time,...
The outermost container for scene description, which owns and presents composed prims as a scenegraph...
Standard pointer typedefs.
#define TF_DECLARE_WEAK_PTRS(type)
Define standard weak pointer types.
UsdResolveInfoSource
Describes the various sources of attribute values.
@ UsdResolveInfoSourceTimeSamples
Attribute time samples.
@ UsdResolveInfoSourceValueClips
Value clips.
@ UsdResolveInfoSourceDefault
Attribute default value.
@ UsdResolveInfoSourceSpline
Spline value.
@ UsdResolveInfoSourceNone
No value.
@ UsdResolveInfoSourceFallback
Built-in fallback value.