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

CAPTURE_RGBA with offset SIZE_MAX imports the identical framebuffer captured by an ancestor before the command consuming this scope. More...

#include <draw_target.h>

Data Fields

rmgui_resource_kind_t kind
uint64_t identity
const void * borrowed
size_t offset
size_t bytes
uint64_t hash
int width
int height
int stride
int glyph
int pixel_size
int xoff
int yoff
const rmgui_source_stamp_t * stamp
uint64_t source_identity
uint64_t generation

Detailed Description

CAPTURE_RGBA with offset SIZE_MAX imports the identical framebuffer captured by an ancestor before the command consuming this scope.

The imported framebuffer must have exactly one producing capture in the whole tree. Imports are read-only; their producer and every intervening scope must remain alive through submit.

Field Documentation

◆ kind

rmgui_resource_kind_t rmgui_draw_resource_t::kind

◆ identity

uint64_t rmgui_draw_resource_t::identity

◆ borrowed

const void* rmgui_draw_resource_t::borrowed

◆ offset

size_t rmgui_draw_resource_t::offset

◆ bytes

size_t rmgui_draw_resource_t::bytes

◆ hash

uint64_t rmgui_draw_resource_t::hash

◆ width

int rmgui_draw_resource_t::width

◆ height

int rmgui_draw_resource_t::height

◆ stride

int rmgui_draw_resource_t::stride

◆ glyph

int rmgui_draw_resource_t::glyph

◆ pixel_size

int rmgui_draw_resource_t::pixel_size

◆ xoff

int rmgui_draw_resource_t::xoff

◆ yoff

int rmgui_draw_resource_t::yoff

◆ stamp

const rmgui_source_stamp_t* rmgui_draw_resource_t::stamp

◆ source_identity

uint64_t rmgui_draw_resource_t::source_identity

◆ generation

uint64_t rmgui_draw_resource_t::generation

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