mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-03 01:53:35 +00:00
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:
parent
4c5d3e77c9
commit
40d15d4b86
|
@ -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
|
||||
-------------------------
|
||||
|
|
Loading…
Reference in a new issue