Skip to main content

POSITION_STRIDE

Constant POSITION_STRIDE 

Source
const POSITION_STRIDE: usize = _ /* 8usize */;
Available on crate feature egui only.
Expand description

Bytes one planar-position vertex occupies.

The UI writes positions at full precision and in the plane, so this is ChannelEncoding::PlanarPosition’s format: two components, with the zero third supplied by the shader rather than stored.