Fixed #788: Encode/derive case classes as UniformBlocks #789
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The main goal of this PR is to drastically improve how easy it is to send data to shaders. We've gone from having to know about all of this:
...to a very familiar this:
The conversion process supports all the same types we used to support, but now we don't need any specialised syntax - WHICH MEANS - all the old imports for shaders have gone - WHICH MEANS - no more term/import collisions with Ultraviolet!! 🎉
Additional clean up work done in this PR:
BlendShaderData
import indigo.shaders.*
- not needed