Skip to content

Commit f037548

Browse files
unhyperbolicpixar-oss
authored andcommitted
Documentation fix for UsdImaging: Fixing example for Native Instance Aggregation Scene Index and including case addressed by change list 2358959.
(Internal change: 2359253)
1 parent aacf599 commit f037548

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pxr/usdImaging/usdImaging/niInstanceAggregationSceneIndex.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,15 @@ TF_DECLARE_REF_PTRS(UsdImaging_NiInstanceAggregationSceneIndex);
137137
/// {
138138
/// def Cube "MyCube"
139139
/// {
140-
/// rel:material:binding = </MyMaterial>
141140
/// }
142141
/// }
143142
///
144143
/// def "Cube_1" (
145144
/// instanceable = true
146145
/// references = </MyPrototype>
146+
/// prepend apiSchemas = ["MaterialBindingAPI"]
147147
/// {
148+
/// rel:material:binding = </Cube_1/MyMaterial>
148149
/// }
149150
///
150151
/// UsdImaging_NiInstanceAggregationSceneIndex (with empty prototype root)
@@ -157,7 +158,7 @@ TF_DECLARE_REF_PTRS(UsdImaging_NiInstanceAggregationSceneIndex);
157158
/// primType: ""
158159
/// dataSource:
159160
/// materialBinding:
160-
/// "": /MyMaterial
161+
/// "": /UsdNiPropagatedPrototypes/Binding312...436/__Prototype_1/UsdNiInstancer/MyMaterial # Note that it was translated to point into the propagated prototype by the UsdImagingRerootingContainerDataSource.
161162
/// /UsdNiPropagatedPrototypes/Binding312...436/__Prototype_1
162163
/// primType: ""
163164
/// /UsdNiPropagatedPrototypes/Binding312...436/__Prototype_1/UsdNiInstancer

0 commit comments

Comments
 (0)