obs-StreamFX/source/gfx/shader
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
..
gfx-shader-param-audio.cpp gfx-shader: Rename from gfx-effect-source 2019-12-15 09:09:11 +01:00
gfx-shader-param-audio.hpp gfx-shader: Rename from gfx-effect-source 2019-12-15 09:09:11 +01:00
gfx-shader-param-basic.cpp gfx/shader/param/basic: Fix bool and suffixes, add enums and optimize 2023-03-28 12:40:45 +02:00
gfx-shader-param-basic.hpp gfx/shader/param/basic: Fix bool and suffixes, add enums and optimize 2023-03-28 12:40:45 +02:00
gfx-shader-param-matrix.cpp gfx-shader: Rename from gfx-effect-source 2019-12-15 09:09:11 +01:00
gfx-shader-param-matrix.hpp gfx-shader: Rename from gfx-effect-source 2019-12-15 09:09:11 +01:00
gfx-shader-param-texture.cpp gfx-shader: Rename from gfx-effect-source 2019-12-15 09:09:11 +01:00
gfx-shader-param-texture.hpp gfx-shader: Rename from gfx-effect-source 2019-12-15 09:09:11 +01:00
gfx-shader-param.cpp gfx/shader: Inlining, std::string_view and optimizations 2023-03-28 12:40:45 +02:00
gfx-shader-param.hpp gfx/shader: Inlining, std::string_view and optimizations 2023-03-28 12:40:45 +02:00
gfx-shader.cpp gfx/shader: Inlining, std::string_view and optimizations 2023-03-28 12:40:45 +02:00
gfx-shader.hpp gfx/shader: Inlining, std::string_view and optimizations 2023-03-28 12:40:45 +02:00