docs: Add documentation for filter index functions

Adds documentation for the obs_source_filter_set_index and
obs_source_filter_get_index functions.
This commit is contained in:
cg2121 2023-06-27 19:22:27 -05:00 committed by Lain
parent 4c5d3e77c9
commit 40d15d4b86

View file

@ -1586,6 +1586,19 @@ Filters
---------------------
.. function:: void obs_source_filter_set_index(obs_source_t *source, obs_source_t *filter, size_t index)
Moves a filter to the specified index in the filters array.
:param index: | The index to move the filter to.
---------------------
.. function:: int obs_source_filter_get_index(obs_source_t *source, obs_source_t *filter)
Gets the index of the specified filter.
:return: Index of the filter or -1 if it is invalid/not found.
Functions used by filters
-------------------------