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

Device-pixel frame inputs, borrowed through consume/cancel. More...

#include <native_gpu.h>

Data Fields

int width
int height
const rmgui_rect_t * damage
sg_image initial
sg_view initial_view
int initial_v_up
int transparent_initial
const rmgui_fb_t *const * gpu_only_captures
size_t gpu_only_capture_count
const rmgui_native_external_t * external_resources
size_t external_resource_count

Detailed Description

Device-pixel frame inputs, borrowed through consume/cancel.

damage NULL means full extent. Initial image/view is same-size single-sample encoded RGBA8; transparent_initial explicitly permits an absent image for ordered reads. GPU-only captures suppress CPU publication; the list is a set of recorded capture outputs, so an output a child stream imports may be listed once per resource entry. External representations are mandatory. There is no integer/exact blend or CPU fallback mode.

Field Documentation

◆ width

int rmgui_native_prepare_desc_t::width

◆ height

int rmgui_native_prepare_desc_t::height

◆ damage

const rmgui_rect_t* rmgui_native_prepare_desc_t::damage

◆ initial

sg_image rmgui_native_prepare_desc_t::initial

◆ initial_view

sg_view rmgui_native_prepare_desc_t::initial_view

◆ initial_v_up

int rmgui_native_prepare_desc_t::initial_v_up

◆ transparent_initial

int rmgui_native_prepare_desc_t::transparent_initial

◆ gpu_only_captures

const rmgui_fb_t* const* rmgui_native_prepare_desc_t::gpu_only_captures

◆ gpu_only_capture_count

size_t rmgui_native_prepare_desc_t::gpu_only_capture_count

◆ external_resources

const rmgui_native_external_t* rmgui_native_prepare_desc_t::external_resources

◆ external_resource_count

size_t rmgui_native_prepare_desc_t::external_resource_count

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