Skip to content

Commit

Permalink
Migrate experimental declarative api changes.
Browse files Browse the repository at this point in the history
* Prefixes the experiemental declarative API
  with its uppercased prefix in the WIP UsdView
  application.
  • Loading branch information
furby-tm committed May 2, 2024
1 parent 0e1a99f commit 6428fb0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Sources/UsdView/UsdView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -161,19 +161,19 @@ struct UsdView: PixarApp

/* ----- Declarative api example. ----- */

UsdStage("DeclarativePixarUSD", ext: .usda)
USDStage("DeclarativePixarUSD", ext: .usda)
{
UsdPrim("DeclarativeScene")
USDPrim("DeclarativeScene")
{
UsdPrim("Sun", type: .distantLight)
USDPrim("Sun", type: .distantLight)
{
UsdPrim("Hello", type: .xform)
USDPrim("Hello", type: .xform)
{
UsdPrim("World", type: .sphere)
UsdPrim("Box", type: .cube)
USDPrim("World", type: .sphere)
USDPrim("Box", type: .cube)
}

UsdPrim("RandomCone", type: .cone)
USDPrim("RandomCone", type: .cone)
}
}
}
Expand Down

0 comments on commit 6428fb0

Please sign in to comment.