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

Result of rmgui_gpu_mesh_raster_query. More...

#include <gpu_mesh.h>

Data Fields

uint32_t missing
int max_side
size_t bytes

Detailed Description

Result of rmgui_gpu_mesh_raster_query.

missing is a bit set of RMGUI_GPU_MESH_RASTER_NEEDS_*: BACKEND (not OpenGL core or ES 3), FLOAT_TARGET (no renderable RGBA32F or sampleable R32F), FLOAT_BLEND (the model has blended materials and the device cannot blend float targets), DEPTH_TARGET, SIZE (max_side is the device texture limit) and MEMORY (bytes is the estimate and exceeds memory_limit). Zero means create will succeed on this device. The caller keeps its own CPU path for every non-zero case; refusal is decided before any frame work.

Field Documentation

◆ missing

uint32_t rmgui_gpu_mesh_raster_caps_t::missing

◆ max_side

int rmgui_gpu_mesh_raster_caps_t::max_side

◆ bytes

size_t rmgui_gpu_mesh_raster_caps_t::bytes

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