Module native
Expand description
Support for Godot native structures.
Native structures are a niche API in Godot. These are low-level data types that are passed as pointers to/from the engine.
In Rust, they are represented as #[repr(C)]
structs.
There is unfortunately not much official documentation available; you may need to look at Godot source code. Most users will not need native structures, as they are very specialized.
Structsยง
- Audio
Frame - Native structure; can be passed via pointer in APIs that are not exposed to GDScript.
- Caret
Info - Native structure; can be passed via pointer in APIs that are not exposed to GDScript.
- Glyph
- Native structure; can be passed via pointer in APIs that are not exposed to GDScript.
- Object
Id - Native structure; can be passed via pointer in APIs that are not exposed to GDScript.
- Physics
Server2D Extension Motion Result - Native structure; can be passed via pointer in APIs that are not exposed to GDScript.
- Physics
Server2D Extension RayResult - Native structure; can be passed via pointer in APIs that are not exposed to GDScript.
- Physics
Server2D Extension Shape Rest Info - Native structure; can be passed via pointer in APIs that are not exposed to GDScript.
- Physics
Server2D Extension Shape Result - Native structure; can be passed via pointer in APIs that are not exposed to GDScript.
- Physics
Server3D Extension Motion Collision - Native structure; can be passed via pointer in APIs that are not exposed to GDScript.
- Physics
Server3D Extension Motion Result - Native structure; can be passed via pointer in APIs that are not exposed to GDScript.
- Physics
Server3D Extension RayResult - Native structure; can be passed via pointer in APIs that are not exposed to GDScript.
- Physics
Server3D Extension Shape Rest Info - Native structure; can be passed via pointer in APIs that are not exposed to GDScript.
- Physics
Server3D Extension Shape Result - Native structure; can be passed via pointer in APIs that are not exposed to GDScript.
- Script
Language Extension Profiling Info - Native structure; can be passed via pointer in APIs that are not exposed to GDScript.