فهرست منبع

docs: Document obs_get_scene_by_name

gxalpha 3 سال پیش
والد
کامیت
343ffc98ed
1فایلهای تغییر یافته به همراه9 افزوده شده و 0 حذف شده
  1. 9 0
      docs/sphinx/reference-core.rst

+ 9 - 0
docs/sphinx/reference-core.rst

@@ -271,6 +271,15 @@ Libobs Objects
 
 ---------------------
 
+.. function:: obs_scene_t *obs_get_scene_by_name(const char *name)
+
+   Gets a scene by its name.
+  
+   Increments the scene reference counter, use
+   :c:func:`obs_scene_release()` to release it when complete.
+
+---------------------
+
 .. function:: obs_output_t *obs_get_output_by_name(const char *name)
 
    Gets an output by its name.