|
RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
|
Borrowed image binding, immutable through consume/cancel. More...
#include <native_gpu.h>
Data Fields | |
| rmgui_native_external_binding_t | binding |
| rmgui_native_alpha_t | representation |
Borrowed image binding, immutable through consume/cancel.
source identifies a pinned stream framebuffer; binding extents must match the source and image. The view samples its base mip and sole slice; v_up selects bottom-up storage. representation explicitly describes sampled bytes.
Fixed capacities, allocated at create. storage bounds residency, atlas, upload and readback; vertices/indices bound polygon tessellation; parameters counts float4 rows; runs/passes/dependencies bound scheduling. All capacities must be positive. Pool lists are borrowed only during create; no frame-time growth occurs. Native image paint additionally reserves one premultiplied RGBA16F base image per image-pool slot, a parameter texture and bounded upload scratch. Nearest copy retains the original straight RGBA8 bytes. Isolated children use pooled transparent premultiplied RGBA8 targets; external reductions and effects reserve bounded surface-pool slots before submitting any GPU work. FRAME_SHADOW and additive LAYER_SHADOW refuse clamped corner radii above 2048, where their pixel-row ownership exceeds exact float geometry. Glow/frame shadows evaluate their declared distance falloff analytically; layer shadows use a source-grid quadratic-B-spline mask. Explicit image and backdrop blur use the bounded Gaussian chain. EMBOSS refuses coordinate or extent magnitudes above 8388607 and nearest-map products above INT32_MAX to retain exact pixel-neighbor ownership.
| rmgui_native_external_binding_t rmgui_native_external_t::binding |
| rmgui_native_alpha_t rmgui_native_external_t::representation |