Type Definition glsl_layout2::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

§

type Align = Align8

ZST that enforces alignment required for this type.
§

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.