Skip to main content

SPRITE_STRIDE

Constant SPRITE_STRIDE 

Source
pub const SPRITE_STRIDE: usize = 22;
Expand description

Number of f32 values per sprite in the batch buffer. Layout: [texture_id, x, y, w, h, layer, uv_x, uv_y, uv_w, uv_h, tint_r, tint_g, tint_b, tint_a, rotation, origin_x, origin_y, flip_x, flip_y, opacity, blend_mode, shader_id]