FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    GlTextureRender

    trait · ferroui-media-opengl · v0.5.0

    trait GlTextureRender: Send + Sync
    

    Client code called on the owning compositor render thread with its GL context current. Preserve all GL state changed by the rendering library, write premultiplied RGBA8, and sample inputs without mutating their storage.

    View source

    Members

    draw

    fn draw(self: &Self, context: &Rc<dyn IGlContext>, output: u32, viewport: RendererViewport, inputs: &[FrameLease]) -> Result<(), MediaError>
    

    Source

    Availability

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