Range

sg_range is a pointer-size-pair struct used to pass memory blobs into sokol-gfx. When initialized from a value type (array or struct), you can use the SG_RANGE() macro to build an sg_range struct. For functions which take either a sg_range pointer, or a (C++) sg_range reference, use the SG_RANGE_REF macro as a solution which compiles both in C and C++

extern (C)
struct Range {}

Members

Variables

ptr
const(void)* ptr;
Undocumented in source.
size
size_t size;
Undocumented in source.

Meta