GPUI.Native (gpui v0.2.0)

Copy Markdown View Source

Availability information for the optional native GPUI backend.

Application code normally uses GPUI.Runtime, GPUI.Display.Native, GPUI.Image, and GPUI.Text.Buffer rather than calling the native backend directly. The latter three capabilities are provided by the gpui_native package; without it, native-backed APIs return {:error, :native_backend_unavailable}.

Summary

Functions

Reports whether the configured native backend loaded successfully.

compiled?() deprecated

Deprecated alias for available?/0.

Functions

available?()

@spec available?() :: boolean()

Reports whether the configured native backend loaded successfully.

compiled?()

This function is deprecated. Use available?/0.
@spec compiled?() :: boolean()

Deprecated alias for available?/0.