Skip to main content

Module platform

Module platform 

Source
Expand description

Backend-neutral platform contracts for Operad adapters.

This module is intentionally data-only. Backends translate these contracts to egui, wgpu, host operating-system APIs, test adapters, or app-owned renderers without leaking backend types into application state.

Structs§

BackendCapabilities
BackendCapabilityDiagnostic
DragBytes
DragId
DragImage
DragPayload
FileDialogFilter
FileDialogRequest
IconHandle
ImageHandle
InputCapabilities
LayerCapabilities
LayerOrder
LogicalPoint
LogicalRect
LogicalSize
NotificationRequest
OpenUrlRequest
PixelSize
PlatformRequestId
PlatformRequestIdAllocator
PlatformServiceCapabilities
PlatformServiceError
PlatformServiceRequest
PlatformServiceResponse
RenderingCapabilities
ResourceCapabilities
ResourceId
ScreenshotImage
ScreenshotRequest
TextImeSession
TextInputId
TextRange
TextureHandle
ThumbnailHandle

Enums§

AppLifecycleRequest
AppLifecycleResponse
BackendAdapterKind
BackendCapabilityProfile
BackendCapabilityRequirement
CapabilityDecision
CapabilityFallback
ClipboardRequest
ClipboardResponse
CursorGrabMode
CursorRequest
CursorResponse
CursorShape
DragDropRequest
DragDropResponse
DragOperation
FileDialogMode
FileDialogResponse
InputCapabilityKind
NotificationLevel
NotificationResponse
OpenUrlResponse
PlatformErrorCode
PlatformRequest
PlatformResponse
PlatformServiceCapabilityKind
PlatformServiceKind
RenderingCapabilityKind
RepaintRequest
RepaintResponse
ResourceDomain
ResourceHandle
ResourceKind
ScreenshotFormat
ScreenshotResponse
ScreenshotTarget
TextImeRequest
TextImeResponse
UiLayer

Constants§

LAYER_LOCAL_Z_MAX
LAYER_LOCAL_Z_MIN

Functions§

clamp_local_z