class_nativeextension.rst 5.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/NativeExtension.xml.
  6. .. _class_NativeExtension:
  7. NativeExtension
  8. ===============
  9. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. Methods
  11. -------
  12. +----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  13. | void | :ref:`close_library<class_NativeExtension_method_close_library>` **(** **)** |
  14. +----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`InitializationLevel<enum_NativeExtension_InitializationLevel>` | :ref:`get_minimum_library_initialization_level<class_NativeExtension_method_get_minimum_library_initialization_level>` **(** **)** |const| |
  16. +----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  17. | void | :ref:`initialize_library<class_NativeExtension_method_initialize_library>` **(** :ref:`InitializationLevel<enum_NativeExtension_InitializationLevel>` level **)** |
  18. +----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  19. | :ref:`bool<class_bool>` | :ref:`is_library_open<class_NativeExtension_method_is_library_open>` **(** **)** |const| |
  20. +----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  21. | :ref:`Error<enum_@GlobalScope_Error>` | :ref:`open_library<class_NativeExtension_method_open_library>` **(** :ref:`String<class_String>` path, :ref:`String<class_String>` entry_symbol **)** |
  22. +----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  23. Enumerations
  24. ------------
  25. .. _enum_NativeExtension_InitializationLevel:
  26. .. _class_NativeExtension_constant_INITIALIZATION_LEVEL_CORE:
  27. .. _class_NativeExtension_constant_INITIALIZATION_LEVEL_SERVERS:
  28. .. _class_NativeExtension_constant_INITIALIZATION_LEVEL_SCENE:
  29. .. _class_NativeExtension_constant_INITIALIZATION_LEVEL_EDITOR:
  30. enum **InitializationLevel**:
  31. - **INITIALIZATION_LEVEL_CORE** = **0**
  32. - **INITIALIZATION_LEVEL_SERVERS** = **1**
  33. - **INITIALIZATION_LEVEL_SCENE** = **2**
  34. - **INITIALIZATION_LEVEL_EDITOR** = **3**
  35. Method Descriptions
  36. -------------------
  37. .. _class_NativeExtension_method_close_library:
  38. - void **close_library** **(** **)**
  39. ----
  40. .. _class_NativeExtension_method_get_minimum_library_initialization_level:
  41. - :ref:`InitializationLevel<enum_NativeExtension_InitializationLevel>` **get_minimum_library_initialization_level** **(** **)** |const|
  42. ----
  43. .. _class_NativeExtension_method_initialize_library:
  44. - void **initialize_library** **(** :ref:`InitializationLevel<enum_NativeExtension_InitializationLevel>` level **)**
  45. ----
  46. .. _class_NativeExtension_method_is_library_open:
  47. - :ref:`bool<class_bool>` **is_library_open** **(** **)** |const|
  48. ----
  49. .. _class_NativeExtension_method_open_library:
  50. - :ref:`Error<enum_@GlobalScope_Error>` **open_library** **(** :ref:`String<class_String>` path, :ref:`String<class_String>` entry_symbol **)**
  51. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  52. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  53. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  54. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  55. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  56. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`