Home
last modified time | relevance | path

Searched refs:usdStage (Results 1 – 11 of 11) sorted by relevance

/dports/misc/usd/USD-21.11/pxr/usd/usdShade/testenv/
H A DtestUsdShadeInterfaceInputConsumers.py42 def _setupStage(self, usdStage): argument
43 material = UsdShade.Material.Define(usdStage, MaterialPath)
46 nodeGraph1 = UsdShade.NodeGraph.Define(usdStage, NodeGraph1Path)
49 nodeGraph2 = UsdShade.NodeGraph.Define(usdStage, NodeGraph2Path)
52 shader1 = UsdShade.Shader.Define(usdStage, Shader1Path)
55 shader2 = UsdShade.Shader.Define(usdStage, Shader2Path)
58 nestedShader1 = UsdShade.Shader.Define(usdStage, NestedShader1Path)
136 usdStage = Usd.Stage.CreateInMemory()
137 self.assertTrue(usdStage)
138 self._setupStage(usdStage)
[all …]
H A DtestUsdShadeNodeGraphs.py40 usdStage = Usd.Stage.CreateInMemory()
41 self.assertTrue(usdStage)
54 shader = UsdShade.Shader.Define(usdStage, shaderPath)
77 nestedNodeGraph = UsdShade.NodeGraph.Define(usdStage,
81 nestedNodeGraphShader = UsdShade.Shader.Define(usdStage,
104 return usdStage
106 def _TestOutputs(self, usdStage): argument
110 nodeGraph = UsdShade.NodeGraph.Get(usdStage, NODEGRAPH_PATH)
111 nestedNodeGraph = UsdShade.NodeGraph.Get(usdStage,
113 nestedNodeGraphShader = UsdShade.Shader.Get(usdStage,
[all …]
H A DtestUsdShadeConnectability.py47 usdStage = Usd.Stage.CreateInMemory()
48 self.assertTrue(usdStage)
50 material = UsdShade.Material.Define(usdStage, MaterialPath)
54 nodeGraph = UsdShade.NodeGraph.Define(usdStage, NodeGraphPath)
55 nodeGraph2 = UsdShade.NodeGraph.Define(usdStage, NodeGraphPath)
59 shader = UsdShade.Shader.Define(usdStage, ShaderPath)
63 nestedShader = UsdShade.Shader.Define(usdStage, NestedShaderPath)
64 nestedShader2 = UsdShade.Shader.Define(usdStage, NestedShaderPath2)
/dports/misc/usd/USD-21.11/pxr/usdImaging/usdImaging/
H A DunitTestHelper.h137 UsdImaging_TestDriver(UsdStageRefPtr const& usdStage) in UsdImaging_TestDriver() argument
152 _Init(usdStage, collection, SdfPath::AbsoluteRootPath(), renderTags); in UsdImaging_TestDriver()
155 UsdImaging_TestDriver(UsdStageRefPtr const& usdStage, in UsdImaging_TestDriver() argument
170 _Init(usdStage, collection, SdfPath::AbsoluteRootPath(), renderTags); in UsdImaging_TestDriver()
173 UsdImaging_TestDriver(UsdStageRefPtr const& usdStage, in UsdImaging_TestDriver() argument
184 _Init(usdStage, collection, delegateId, renderTags); in UsdImaging_TestDriver()
228 void _Init(UsdStageRefPtr const& usdStage, in _Init() argument
236 _stage = usdStage; in _Init()
/dports/misc/usd/USD-21.11/pxr/usd/usdUtils/
H A DcomplianceChecker.py92 def CheckStage(self, usdStage): argument
223 def CheckStage(self, usdStage): argument
270 def CheckStage(self, usdStage): argument
273 rootLayer = usdStage.GetRootLayer()
592 rootLayer = usdStage.GetRootLayer()
804 def CheckStage(self, usdStage): argument
805 usedLayers = usdStage.GetUsedLayers()
957 usdStage = Usd.Stage.Open(inputFile)
961 rule.CheckStage(usdStage)
982 Usd.Describe(usdStage))
[all …]
H A Dauthoring.cpp246 const UsdStageWeakPtr &usdStage, in UsdUtilsComputeCollectionIncludesAndExcludes() argument
308 UsdPrim commonAncestor = usdStage->GetPrimAtPath(commonPrefix); in UsdUtilsComputeCollectionIncludesAndExcludes()
371 const UsdStageWeakPtr usdStage = usdPrim.GetStage(); in UsdUtilsCreateCollections() local
386 usdStage, &pathsToInclude, &pathsToExclude, minInclusionRatio, in UsdUtilsCreateCollections()
H A DwrapAuthoring.cpp77 const UsdStageWeakPtr &usdStage, in _WrapUsdUtilsComputeCollectionIncludesAndExcludes() argument
94 usdStage, &pathsToInclude, &pathsToExclude, minInclusionRatio, in _WrapUsdUtilsComputeCollectionIncludesAndExcludes()
H A Dauthoring.h121 const UsdStageWeakPtr &usdStage,
H A Ddependencies.cpp1283 const auto &usdStage = UsdStage::Open(resolvedPath); in UsdUtilsCreateNewARKitUsdzPackage() local
1292 if (!usdStage->Export(tmpFileName, /*addSourceFileComment*/ false)) { in UsdUtilsCreateNewARKitUsdzPackage()
1294 UsdDescribe(usdStage).c_str()); in UsdUtilsCreateNewARKitUsdzPackage()
/dports/misc/usd/USD-21.11/pxr/usdImaging/bin/usdrecord/
H A Dusdrecord.py126 usdStage = Usd.Stage.OpenMasked(args.usdFilePath, populationMask)
128 usdStage = Usd.Stage.Open(args.usdFilePath)
130 if not usdStage:
135 usdCamera = UsdAppUtils.GetCameraAtPath(usdStage, args.camera)
159 frameRecorder.Record(usdStage, usdCamera, timeCode, outputImagePath)
/dports/misc/usd/USD-21.11/pxr/usd/usdGeom/testenv/
H A DtestUsdGeomCamera.py64 usdStage = Usd.Stage.CreateInMemory()
65 usdCamera = UsdGeom.Camera.Define(usdStage, '/camera')
90 usdStage = Usd.Stage.CreateInMemory()
91 usdCamera = UsdGeom.Camera.Define(usdStage, '/camera')