|
RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
|
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 |
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).
| const rmgui_fb_t* rmgui_native_external_binding_t::source |
| sg_image rmgui_native_external_binding_t::image |
| sg_view rmgui_native_external_binding_t::view |
| int rmgui_native_external_binding_t::width |
| int rmgui_native_external_binding_t::height |
| int rmgui_native_external_binding_t::v_up |