Realtime Compositor: Allow more result types #112414

Merged
Omar Emara merged 5 commits from OmarEmaraDev/blender:allow-more-result-types into main 2023-09-25 15:13:02 +02:00

5 Commits

Author SHA1 Message Date
Omar Emara 3a7291a877 Replace defaults when needed 2023-09-25 14:52:09 +03:00
Omar Emara 24144daacd Merge branch 'main' into allow-more-result-types 2023-09-25 14:17:43 +03:00
Omar Emara 494341750f Merge branch 'main' into allow-more-result-types 2023-09-25 09:47:33 +03:00
Omar Emara c4e8f2aa5d Merge branch 'main' into allow-more-result-types 2023-09-22 14:36:01 +03:00
Omar Emara cee265ee8a Realtime Compositor: Allow more result types
Previously, the Result class was reserved for inputs and outputs of
operations, so its allowed types were naturally those exposed to the
user. However, we now use the Result class internally for intermediate
results, so it now makes sense to expend the allowed types.

The types are now divided into two categories, those that are user
facing and need to be handled in implicit operations and those that are
internal can be exempt from such handling. Internal types are reserved
for texture results, as the single value mechanism is only there for
user facing results.

The patch merely adjusts the switch cases across the codebase, adding
one new internal type as an example.
2023-09-15 14:23:45 +03:00