Skip to content

Add support for "subclassing" SdfFileFormat in Swift - #46

Merged
maddyadams merged 2 commits into
devfrom
maddy-adams/subclass-sdf-file-format
Oct 1, 2026
Merged

maddyadams merged 2 commits into
devfrom
maddy-adams/subclass-sdf-file-format

Conversation

@maddyadams

Copy link
Copy Markdown
Contributor

Add Examples/Plugins/SdfFileFormat/sdfJson_Cxx and sdfJson_Swift
Also, various miscellaneous changes to support sdfJson_Swift

Tests: apple/SwiftUsd-Tests#20
ast-answerer: apple/SwiftUsd-ast-answerer#10

Deprecate Overlay.HioImageSubclass.get_cxx, .new
Add minimal StdOstreamWrapper for SdfFileFormat "subclassing"

Misc:
Extend GfMatrix4d subscript workaround to all GfMatrixNd types
Add more Bool.init(_:) functions
Add SdfSpec upcasting/downcasting initializers
Add to MethodsReturningReferences.swift
Add Overlay.GetValue, GetPreValue, GetPreTanSlope, GetPostTanSlope for retrieving VtValues from TsKnots
Add Overlay typedef for VtArray<SdfPathExpression> because OpenUSD doesnt provide one
Conform TsKnotMap and SdfTimeSampleMap to Sequence protocols
Add Double.init(_: pxr.GfTimeCode)
Make SdfPathExpression Codable
@maddyadams
maddyadams marked this pull request as ready for review October 1, 2026 19:46
@maddyadams
maddyadams merged commit 23d7efa into dev Oct 1, 2026
6 checks passed
@maddyadams
maddyadams deleted the maddy-adams/subclass-sdf-file-format branch October 1, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant