:github_url: hide .. Generated automatically by doc/tools/make_rst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the NativeExtension.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_NativeExtension: NativeExtension =============== **Inherits:** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` Methods ------- +----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`close_library` **(** **)** | +----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`InitializationLevel` | :ref:`get_minimum_library_initialization_level` **(** **)** |const| | +----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`initialize_library` **(** :ref:`InitializationLevel` level **)** | +----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_library_open` **(** **)** |const| | +----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`open_library` **(** :ref:`String` path, :ref:`String` entry_symbol **)** | +----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Enumerations ------------ .. _enum_NativeExtension_InitializationLevel: .. _class_NativeExtension_constant_INITIALIZATION_LEVEL_CORE: .. _class_NativeExtension_constant_INITIALIZATION_LEVEL_SERVERS: .. _class_NativeExtension_constant_INITIALIZATION_LEVEL_SCENE: .. _class_NativeExtension_constant_INITIALIZATION_LEVEL_DRIVER: .. _class_NativeExtension_constant_INITIALIZATION_LEVEL_EDITOR: enum **InitializationLevel**: - **INITIALIZATION_LEVEL_CORE** = **0** - **INITIALIZATION_LEVEL_SERVERS** = **1** - **INITIALIZATION_LEVEL_SCENE** = **2** - **INITIALIZATION_LEVEL_DRIVER** = **3** - **INITIALIZATION_LEVEL_EDITOR** = **4** Method Descriptions ------------------- .. _class_NativeExtension_method_close_library: - void **close_library** **(** **)** ---- .. _class_NativeExtension_method_get_minimum_library_initialization_level: - :ref:`InitializationLevel` **get_minimum_library_initialization_level** **(** **)** |const| ---- .. _class_NativeExtension_method_initialize_library: - void **initialize_library** **(** :ref:`InitializationLevel` level **)** ---- .. _class_NativeExtension_method_is_library_open: - :ref:`bool` **is_library_open** **(** **)** |const| ---- .. _class_NativeExtension_method_open_library: - :ref:`Error` **open_library** **(** :ref:`String` path, :ref:`String` entry_symbol **)** .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`