Type Definition float
glsl_layout
type float = f32;
floating-point value.
impl Std140 for float
pub fn as_raw(&self) -> &[u8]
Convert to bytes-slice.
impl Uniform for float
type Align = Align4
ZST that enforces alignment required for this type.
type Std140 = float
Type that contain same data with memory layout matching glsl's layout(std140).
layout(std140)
pub fn std140(&self) -> float
Get aligned data from structure.