obs-StreamFX/source/gfx
Michael Fabian 'Xaymar' Dirks c1b3972550 gfx/shader/param/basic: Fix bool and suffixes, add enums and optimize
Adds support for enumerations, a different way of selecting how something should behave in a shader. Enumerations rely on a continuous list of values, and will automatically detect how many values there are in the enumeration. Only non-vector types are supported as enumeration entries, and array/vector parameters can have each member set to a different enumeration value.

Furthermore suffixes now are properly assigned, and 'bool' no longer causes shaders to stop rendering. Additionally by inlining some functions and using std::string_view we can achieve a slightly better performance than before.
2023-03-28 12:40:45 +02:00
..
blur project: Optimize to use single fullscreen tri instead 2023-03-28 12:40:42 +02:00
shader gfx/shader/param/basic: Fix bool and suffixes, add enums and optimize 2023-03-28 12:40:45 +02:00
gfx-source-texture.cpp project: Improve performance profiling support 2023-03-28 12:40:41 +02:00
gfx-source-texture.hpp project: Modernize code to proper C++ 2020-04-09 00:17:25 +02:00