glsl_layout

Type Alias int

Source
pub type int = i32;
Expand description

Signed integer value.

Trait Implementations§

Source§

impl Std140 for int

Source§

fn as_raw(&self) -> &[u8]

Convert to bytes-slice.
Source§

impl Uniform for int

Source§

type Align = Align4

ZST that enforces alignment required for this type.
Source§

type Std140 = i32

Type that contain same data with memory layout matching glsl’s layout(std140).
Source§

fn std140(&self) -> int

Get aligned data from structure.