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