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