RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
Loading...
Searching...
No Matches
rmgui_native_external_binding_t Struct Reference

Borrowed sampled RGBA8 image replacing CPU upload for one pinned framebuffer identity. More...

#include <native_gpu.h>

Data Fields

const rmgui_fb_t * source
sg_image image
sg_view view
int width
int height
int v_up

Detailed Description

Borrowed sampled RGBA8 image replacing CPU upload for one pinned framebuffer identity.

Extents must match source and image; view must sample that image's base mip and sole slice. v_up selects bottom-up storage. Host keeps source, pixels, image, view and table immutable/alive until consume/cancel; the renderer never destroys these handles. SRGB8A8 is not accepted (sampling decodes it).

Field Documentation

◆ source

const rmgui_fb_t* rmgui_native_external_binding_t::source

◆ image

sg_image rmgui_native_external_binding_t::image

◆ view

sg_view rmgui_native_external_binding_t::view

◆ width

int rmgui_native_external_binding_t::width

◆ height

int rmgui_native_external_binding_t::height

◆ v_up

int rmgui_native_external_binding_t::v_up

The documentation for this struct was generated from the following file: