mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-16 00:35:06 +00:00
eaf89193fb
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. |
||
---|---|---|
.. | ||
gfx-shader-param-audio.cpp | ||
gfx-shader-param-audio.hpp | ||
gfx-shader-param-basic.cpp | ||
gfx-shader-param-basic.hpp | ||
gfx-shader-param-matrix.cpp | ||
gfx-shader-param-matrix.hpp | ||
gfx-shader-param-texture.cpp | ||
gfx-shader-param-texture.hpp | ||
gfx-shader-param.cpp | ||
gfx-shader-param.hpp | ||
gfx-shader.cpp | ||
gfx-shader.hpp |