Struct glsl_layout::ivec3
source · pub struct ivec3(_);
Expand description
Vector of 3 int
values.
foo: ivec3
is equivalent to glsl’s ivec3 foo;
Examples
let x: ivec3 = [1i32; 3].into();
Trait Implementations§
source§impl Ord for ivec3
impl Ord for ivec3
source§impl PartialOrd<ivec3> for ivec3
impl PartialOrd<ivec3> for ivec3
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more