0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

docs: Document obs_group_or_scene_from_source

This commit is contained in:
gxalpha 2021-11-13 12:27:42 +01:00 committed by Ryan Foster
parent 155b91a94e
commit e922a5586f

View File

@ -613,6 +613,13 @@ Scene Item Group Functions
--------------------- ---------------------
.. function:: obs_scene_t *obs_group_or_scene_from_source(const obs_source_t *source)
:return: The group or scene context, or *NULL* if neither a
group nor a scene. Does not increase the reference
---------------------
.. function:: bool obs_sceneitem_is_group(obs_sceneitem_t *item) .. function:: bool obs_sceneitem_is_group(obs_sceneitem_t *item)
:param item: Scene item :param item: Scene item