Skip to content

UsdPreviewSurface opacityMode string input#2955

Open
ld-kerley wants to merge 2 commits into
AcademySoftwareFoundation:mainfrom
ld-kerley:usdpreview-opacity-mode-string
Open

UsdPreviewSurface opacityMode string input#2955
ld-kerley wants to merge 2 commits into
AcademySoftwareFoundation:mainfrom
ld-kerley:usdpreview-opacity-mode-string

Conversation

@ld-kerley
Copy link
Copy Markdown
Contributor

Resolves #2896

Add version of ND_UsdPreviewSurface_surfaceshader with opacityMode input as a string for compatibility with OpenUSD version of UsdPreviewSurface.

Added unit tests for both modes.

Updated validation logic to allow for mis-matched types if enumeration is present - previously a NodeGraph implementation would fail validation if a string input with an enum attribute was used as its resolved integer type.

ld-kerley added 2 commits May 28, 2026 08:46
…patibility.

Added unit tests for both modes.

Updated validation logic to allow for mis-matched types if enumeration is present
@ld-kerley ld-kerley force-pushed the usdpreview-opacity-mode-string branch from 2e7baf0 to 282ad11 Compare May 28, 2026 15:46
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.

USDPreviewSurface opacityMode port type differs

1 participant