SetShaderParameter should throw a warning/error if Paramater doesn't exist #9360
Replies: 2 comments 2 replies
-
This might not be entirely simple, setting the parameters happens asynchronously to avoid synchronizing with rendering and this means it's set via caches that are then updated the next time a transfer is done, this could be handled with a check but that would mean adding more data to handle that, this would be more expensive in cases when you don't need this check when you've made sure the parameter does exist |
Beta Was this translation helpful? Give feedback.
-
This makes a lot of sense (also for AnimationTree parameters), but we'll need to add |
Beta Was this translation helpful? Give feedback.
-
Would be helpful for debugging issues with shaders if the engine threw a warning/error when trying to set a shader parameter that doesn't exist on the shader
Beta Was this translation helpful? Give feedback.
All reactions