ContextDesc

sdtx_context_desc_t

Describes the initialization parameters of a rendering context. Creating additional rendering contexts is useful if you want to render in different sokol-gfx rendering passes, or when rendering several layers of text

Members

Variables

canvas_height
float canvas_height;
Undocumented in source.
canvas_width
float canvas_width;
Undocumented in source.
char_buf_size
int char_buf_size;
Undocumented in source.
color_format
sg.PixelFormat color_format;
Undocumented in source.
depth_format
sg.PixelFormat depth_format;
Undocumented in source.
max_commands
int max_commands;
Undocumented in source.
sample_count
int sample_count;
Undocumented in source.
tab_width
int tab_width;
Undocumented in source.

Meta