Vector of 3 float
values.
foo: vec3
is equivalent to glsl's vec3 foo;
let x: vec3 = [1f32; 3].into();
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Returns the "default value" for a type. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
type Align = Align16
ZST that enforces alignment required for this type.
Type that contain same data with memory layout matching glsl's layout(std140)
.
Get aligned data from structure.