Expand description
Public, semantically versioned Rust API for Flutter Rust-shell plugins.
The SDK deliberately exposes no Flutter C++ or Impeller types. Those remain behind the private, lockstep engine bridge.
Modules§
- gpu
- GPU API types pinned to the version used by the Rust shell.
Structs§
- GpuTextures
- GPU texture creation capability exposed by the plugin registrar.
- Main
Thread Dispatcher - Worker-safe handle for posting short operations to Flutter’s main thread.
- Pixel
Buffer Texture - Safe CPU producer handle backed by shell-owned pixel buffers.
- Pixel
Buffer Texture Frame - Exclusive reservation of one shell-owned CPU pixel buffer.
- Plugin
Registrar - The shell-owned registration context passed to every plugin.
- Texture
Descriptor - Size and format of an engine-owned GPU texture.
- Wgpu
Texture - Safe producer handle for an engine-owned wgpu texture ring.
- Wgpu
Texture Frame - Exclusive reservation of one engine-owned texture-ring slot.
Enums§
- Dispatch
Error - Error returned when work can no longer be posted to the main thread.
- Plugin
Error - Errors returned while registering a Rust-shell plugin.
- Texture
Format - Pixel formats accepted by engine-owned GPU textures.
Constants§
- PLUGIN_
SDK_ API_ VERSION - The source compatibility version of this SDK.
Traits§
- Flutter
Rust Plugin - A source-linked plugin compiled into the application’s Rust aggregate.
Type Aliases§
- Result
- A convenient result type for plugin registration.