glsl_layout

Type Alias uint

Source
pub type uint = u32;
Expand description

Unsigned integer value.

Trait Implementations§

Source§

impl Std140 for uint

Source§

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

Convert to bytes-slice.
Source§

impl Uniform for uint

Source§

type Align = Align4

ZST that enforces alignment required for this type.
Source§

type Std140 = u32

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

fn std140(&self) -> uint

Get aligned data from structure.