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

An immutable image, or a same-kind isolated child target. More...

#include <target_native_effects.h>

Data Structures

union  [union].value

Public Types

enum  { RMGUI_COMPOSITE_IMAGE , RMGUI_COMPOSITE_SUBSTREAM }

Data Fields

enum { ... }  kind
union  value

Detailed Description

An immutable image, or a same-kind isolated child target.

RECORD acquires and seals a child on success, with the lifetime/consumption rules of rmgui_fb_composite_stream_to. CPU reads the child's framebuffer immediately. Both image and child bytes are interpreted as straight RGBA, exactly as COMPOSITE; accumulated child RGB is not implicitly unpremultiplied. Exactly the member selected by kind must be non-NULL.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
RMGUI_COMPOSITE_IMAGE 
RMGUI_COMPOSITE_SUBSTREAM 

Field Documentation

◆ kind

◆ value

union rmgui_composite_source_t::[union].value rmgui_composite_source_t::value

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