BufferImageLocation
extern (C)
struct BufferImageLocation {
}
- buffer
Buffer buffer;
Undocumented in source.
- bytes_per_row
int bytes_per_row;
Undocumented in source.
- bytes_per_slice
int bytes_per_slice;
Undocumented in source.
- offset
size_t offset;
Undocumented in source.
sokol gfx
enumsfunctionsmanifest constantsstructs
sg_buffer_image_location
A buffer location for image data with row- and surface-pitch.
Caveats (all checked by the validation layer): - .offset must be a multiple of the destination image pixel- or compression-block size - .bytes_per_row must be a multiple of the destination image's per-pixel or per-compression-block size - .bytes_per_slice must be a multiple of .bytes_per_row