-
Notifications
You must be signed in to change notification settings - Fork 0
Hide raw OpenUSD types from the public USDInterop surface #6
Copy link
Copy link
Open
Description
Summary
Deconstructed now builds on the public USDInterop package family, but the public graph still exposes OpenUSD 6.1.0-preflight.1 more than intended.
This is not a business/IP leak. It is an API hygiene and build-friction issue.
Problem
Deconstructed does not publicly export OpenUSD types from its own app-facing modules, but USDInterop still exposes a public shim that uses raw pxr types in public signatures:
Sources/USDInterop/USDInterop+OpenUSDShim.swift
That keeps OpenUSD visible in the public technical contract even though the intended consumer contract is:
USDInterfacesUSDInteropUSDInteropCxxUSDOperations
with OpenUSD treated as an implementation dependency of the package family, not as part of the intended app-facing API.
Why this matters
- creates accidental public API commitment to raw
pxrtypes - increases build and macro-approval friction for downstream consumers
- weakens the cleanliness of the
USDOperations/USDToolssplit
Desired outcome
- keep
OpenUSDout of public-facing signatures where possible - make
USDInteropOpenUSDShiminternal or otherwise non-consumer-facing if onlyUSDOperationsneeds it - preserve the existing functionality while tightening the public contract
Acceptance criteria
- no public
USDInteroporUSDOperationsAPI exposes rawOpenUSD/pxrtypes unless there is a deliberate documented exception OpenUSDremains an implementation dependency of theUSDInteroppackage family rather than an intended downstream app API surfaceDeconstructedcontinues to build on the publicUSDInteroppackage family without requiring app code to import rawOpenUSD
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels