pub struct PmWaveGeom {
pub strips: Vec<Vec<[f32; 2]>>,
pub is_loop: bool,
pub alpha: f32,
pub rgb: [f32; 3],
}Expand description
Output of main_wave_geometry_projectm.
Fields§
§strips: Vec<Vec<[f32; 2]>>Up to two smoothed vertex lists (clip space, y up), in draw order; empty ones are dropped.
is_loop: boolDraw as GL_LINE_LOOP (close the strip) instead of GL_LINE_STRIP.
alpha: f32Final alpha 0..1 (m_tempAlpha), shared by both strips.
rgb: [f32; 3]Colour after “maximize colour” (not clamped: projectM hands it to glVertexAttrib4f raw).
Trait Implementations§
Source§impl Clone for PmWaveGeom
impl Clone for PmWaveGeom
Source§impl Debug for PmWaveGeom
impl Debug for PmWaveGeom
Source§impl PartialEq for PmWaveGeom
impl PartialEq for PmWaveGeom
impl StructuralPartialEq for PmWaveGeom
Auto Trait Implementations§
impl Freeze for PmWaveGeom
impl RefUnwindSafe for PmWaveGeom
impl Send for PmWaveGeom
impl Sync for PmWaveGeom
impl Unpin for PmWaveGeom
impl UnsafeUnpin for PmWaveGeom
impl UnwindSafe for PmWaveGeom
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more