Can interface properties be differentiable? #8442
Replies: 1 comment
-
|
I don't think that this is currently supported. I think a feature request would be welcome :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The documentation (https://docs.shader-slang.org/en/latest/external/slang/docs/user-guide/07-autodiff.html#using-auto-diff-with-interface-requirements-and-interface-types) mentions that "For interface requirements, using [Differentiable] attribute enforces that any implementation of that method must also be differentiable."
Can I also enforce interface properties to be differentiable? If so, what is the proper syntax? Is there a minimum example? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions