|
RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
|
Borrowed VALID texture view of a single-sample 2D RGBA8 image's base mip. More...
#include <gpu_sokol.h>
Data Fields | |
| sg_view | view |
| int | width |
| int | height |
| rmgui_gpu_src_t | src |
| rmgui_gpu_alpha_t | alpha |
| int | linear |
| int | v_up |
Borrowed VALID texture view of a single-sample 2D RGBA8 image's base mip.
width/height must equal the image dimensions. src lies within the picture, x right and y down from picture top. v_up=0 puts picture top at storage row 0; v_up=1 puts it at storage row height-1. UVs are texels / image size; no atlas inset is added. linear selects linear rather than nearest sampling; both clamp to image edges, not src edges, so linear atlas cells can bleed.
| sg_view rmgui_gpu_texture_t::view |
| int rmgui_gpu_texture_t::width |
| int rmgui_gpu_texture_t::height |
| rmgui_gpu_src_t rmgui_gpu_texture_t::src |
| rmgui_gpu_alpha_t rmgui_gpu_texture_t::alpha |
| int rmgui_gpu_texture_t::linear |
| int rmgui_gpu_texture_t::v_up |