0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00
obs-studio/libobs-d3d11
Alex Anderson af67086912 libobs: Add HLSL annotation parsing
Gives the ability to retrieve param annotations. Blocks wrapped in <>
following a parameter.

For example:
float slider < float max_value = 10.0; float min_value = 0.0; >;

These blocks are not for shading purposes but to help describe the
shader's gui as in the example above.

Adds graphics api functions for retrieving annotations:
size_t gs_param_get_num_annotations(const gs_eparam_t *param);

gs_eparam_t *gs_param_get_annotation_by_idx(const gs_eparam_t *param,
		size_t annotation);

gs_eparam_t *gs_param_get_annotation_by_name(const gs_eparam_t *param,
		const char *name);
2018-09-08 05:22:12 -07:00
..
CMakeLists.txt libobs-d3d11: Rebuild device and assets if device removed/reset 2016-11-03 09:23:24 -07:00
d3d11-duplicator.cpp libobs-d3d11: Allow multiple display captures of same monitor 2018-01-09 19:49:54 -08:00
d3d11-indexbuffer.cpp libobs-d3d11: Use linked list for all objects (for rebuilding) 2016-11-03 09:23:21 -07:00
d3d11-rebuild.cpp libobs-d3d11: Allow rebuild even if output duplicator fails 2017-11-16 20:49:56 -08:00
d3d11-samplerstate.cpp libobs-d3d11: Use linked list for all objects (for rebuilding) 2016-11-03 09:23:21 -07:00
d3d11-shader.cpp libobs: Add HLSL annotation parsing 2018-09-08 05:22:12 -07:00
d3d11-shaderprocessor.cpp libobs-d3d11: Store shader samplers as pointers 2016-11-03 09:23:10 -07:00
d3d11-shaderprocessor.hpp libobs-d3d11: Store shader samplers as pointers 2016-11-03 09:23:10 -07:00
d3d11-stagesurf.cpp libobs-d3d11: Use linked list for all objects (for rebuilding) 2016-11-03 09:23:21 -07:00
d3d11-subsystem.cpp libobs-d3d11: Do not allow Alt+Enter interception 2018-04-20 22:34:22 -07:00
d3d11-subsystem.hpp libobs-d3d11: Allow multiple display captures of same monitor 2018-01-09 19:49:54 -08:00
d3d11-texture2d.cpp libobs-d3d11: Use linked list for all objects (for rebuilding) 2016-11-03 09:23:21 -07:00
d3d11-vertexbuffer.cpp libobs-d3d11: Use linked list for all objects (for rebuilding) 2016-11-03 09:23:21 -07:00
d3d11-zstencilbuffer.cpp libobs-d3d11: Use linked list for all objects (for rebuilding) 2016-11-03 09:23:21 -07:00