diff --git a/docs/sphinx/reference-sources.rst b/docs/sphinx/reference-sources.rst index 960ecffa6..41306391b 100644 --- a/docs/sphinx/reference-sources.rst +++ b/docs/sphinx/reference-sources.rst @@ -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 -------------------------