MetalTextureRender
trait · ferroui-media-metal · v0.5.0
trait MetalTextureRender: Send + Sync
Client-owned scene and library adapter. Encode premultiplied sRGB BGRA8 output, including transparent pixels. Input metadata supplies crop, orientation and color; the client owns its shading and hit testing.
Members
encode
fn encode(self: &Self, context: &MetalRenderContext<'_>, viewport: RendererViewport, inputs: &[FrameLease]) -> Result<(), MediaError>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.