obs-StreamFX/source
Michael Fabian 'Xaymar' Dirks 777556f4f6 gfx-shader-param: Vastly improve parameter functionality
Allow for overriding type and size of an element, opening the path for `int#[]`, `float#[]`, `int#x#`, `float#x#`, `bool#x#`, `vector<type, #>` and `matrix<type, #, #>`. Also allows for specifying the exact type of texture instead of hoping the user gets it right, as well as samplers.

Parameters are also now created if they are invisible, which means that the properties() function must not be called, but they must still be used like any other. This is due to a problem with default values not being applied all the time, and sometimes just vanishing.

The code also now throws exceptions with reasonable text, which should be caught by the gfx::shader implementation and refuse a load of the effect. No other state should be modified at that point, so care must be taken that up until the moment the complete initialization is done no other state is modified.
2019-12-24 22:02:37 +01:00
..
filters obs-source: Deprecate obs::source due to stability issues 2019-12-21 17:43:12 +01:00
gfx gfx-shader-param: Vastly improve parameter functionality 2019-12-24 22:02:37 +01:00
obs obs-tools: Add work around for property memory corruption 2019-12-22 06:07:07 +01:00
sources obs-source: Deprecate obs::source due to stability issues 2019-12-21 17:43:12 +01:00
plugin.cpp project: Apply clang-format 2019-12-21 17:05:53 +01:00
plugin.hpp project: Fix a massive list of dangerous warnings 2019-09-05 18:42:28 +02:00
strings.hpp project: Version 0.8.0a1 2019-12-22 08:31:00 +01:00
util-event.cpp util-event: Template event handler class 2018-11-08 08:07:49 +01:00
util-event.hpp util-event: Automatically clear event listeners when destructed 2019-04-02 19:11:26 +02:00
util-math.cpp project: Re-apply formatting 2019-09-04 03:03:41 +02:00
util-math.hpp project: Apply clang-format 2019-12-21 17:05:53 +01:00
util-memory.cpp util-memory: Cast to intptr_t 2019-09-05 18:09:33 +02:00
util-memory.hpp project: Fix up previous commit 2019-08-04 20:29:04 +02:00
utility.cpp project: Apply clang-format 2019-12-21 17:05:53 +01:00
utility.hpp utility: Add any and exact matching for enum class bitmasks 2019-12-21 18:05:32 +01:00