FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MetalRenderContext

    struct · ferroui-media-metal · v0.5.0

    struct MetalRenderContext<'a>
    

    Borrowed handles valid only during encode. The client must end its encoders and must not commit or retain this command buffer. The framework submits it once, retains all input/output leases and signals actual native completion.

    View source

    Members

    device

    fn device(self: &Self) -> *mut c_void
    

    Source

    command_buffer

    fn command_buffer(self: &Self) -> *mut c_void
    

    Source

    output_texture

    fn output_texture(self: &Self) -> *mut c_void
    

    Source

    input_texture

    fn input_texture(self: &Self, frame: &FrameLease) -> Result<MetalTextureView, MediaError>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.