Skip to main content

Crate fxplug

Crate fxplug 

Source
Expand description

Safe Rust-facing API for FxPlug 4 tileable image effects.

The Objective-C shim owns FxPlug, Metal, IOSurface, and Foundation objects. Rust plugins implement TileableEffect and are exported through register_plugin!.

Version 0.1 intentionally supports one Rust effect per PlugInKit service. It is a narrow authoring API for tileable image effects, not a complete FxPlug SDK.

Re-exports§

pub use fxplug_sys as sys;

Modules§

ffi

Macros§

register_plugin
register_plugins

Structs§

Error
FloatSliderSpec
ImageTile
IntSliderSpec
MetalRenderPlan
Properties
RawImageTile
RawMetalRenderPlan
RawParameterValue
RawRect
RawRenderContext
RawTime
RawVertex2D
Rect
RenderContext
RgbaF32Rows
RgbaF32RowsMut
Time
ToggleButtonSpec

Enums§

GpuRenderResult
ParameterKind
ParameterSpec
ParameterValue
PixelFormat
PixelTransformSupport
Quality
RenderBackend

Constants§

FXPLUG_RUST_PIXEL_FORMAT_BGRA_U8
FXPLUG_RUST_PIXEL_FORMAT_RGBA_F32

Traits§

TileableEffect

Functions§

fullscreen_vertices

Type Aliases§

Result