glsl_layout

Type Alias double

Source
pub type double = f64;
Expand description

Double-precision floating-point value.

Trait Implementations§

Source§

impl Std140 for double

Source§

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

Convert to bytes-slice.
Source§

impl Uniform for double

Source§

type Align = Align8

ZST that enforces alignment required for this type.
Source§

type Std140 = f64

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

fn std140(&self) -> double

Get aligned data from structure.