FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ferroui_opengl

    module · ferroui-opengl · v0.5.0

    module ferroui_opengl
    

    The OpenGL platform contracts.

    What a platform exposes so that a render backend can draw with OpenGL, OpenGL ES or WebGL: the context (IGlContext), the surfaces it renders to (surfaces) and the entry points the framework itself calls (GlInterface).

    The entry point tables call into the platform's OpenGL library through function pointers resolved by name. That is the one place of this crate with unsafe code; see GlInterface for the contract.

    View source

    Contents

    Availability

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