Struct glsl_layout::uvec2
source · pub struct uvec2(_);
Expand description
Vector of 2 uint
values.
foo: uvec2
is equivalent to glsl’s uvec2 foo;
Examples
let x: uvec2 = [1u32; 2].into();
Trait Implementations§
source§impl Ord for uvec2
impl Ord for uvec2
source§impl PartialOrd<uvec2> for uvec2
impl PartialOrd<uvec2> for uvec2
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