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