Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for shader output property in ndrArnold parser #757

Closed
frenchdog opened this issue Apr 17, 2021 · 1 comment
Closed

Add support for shader output property in ndrArnold parser #757

frenchdog opened this issue Apr 17, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@frenchdog
Copy link
Contributor

Describe the feature you'd like
Ability to get information about an Arnold node output when querying an SdrShaderNode.

Describe the solution you'd like
Since an Arnold node output does not have an explicit name, calling NdrNode::GetOutputNames() would return a vector with only one "out" string.
Calling SdrShaderNode::GetShaderOutput("out") would return a valid SdrShaderProperty.
Such property would give information like its type and if it is an array.

Additional context
Such feature would allow to write generic code for applications using the NdrDiscoveryPlugin mechanism to create shader nodes.

@frenchdog frenchdog added the enhancement New feature or request label Apr 17, 2021
@compso compso added this to Arnold USD Apr 8, 2022
@compso compso moved this to Todo in Arnold USD Apr 8, 2022
Repository owner moved this from Todo to Done in Arnold USD Aug 17, 2022
@sebastienblor
Copy link
Collaborator

duplicate of #1211

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants