Skip to main content

Module version_4_2

Module version_4_2 

Source
Expand description

§GDExtension API for Godot 4.2

Enums§

TargetPlatform
Target platform for which the GDExtension interface is generated.

Constants§

GODOT_VERSION_STRING
Version of the Godot engine that the API JSON and C header mirror.

Functions§

get_package_property
Dynamically fetch a property of this crate.
load_gdextension_header_h
Returns the contents of the header file gdextension_interface.h.
load_gdextension_header_rsDeprecated
Returns the contents of the header file gdextension_interface.rs, generated for the corresponding platform.
load_gdextension_header_rs_for_platform
Returns the contents of the header file gdextension_interface.rs, generated for the corresponding platform.
load_gdextension_json
Returns the contents of the JSON API file extension_api.json.

Type Aliases§

CowStr
Abstracts from borrow/owned and allows to change implementation without affecting API.