pub struct Effect {
pub shader: ShaderProgram,
pub params: [f32; 4],
pub padding_px: u32,
pub envelope: Curve,
pub seed: f32,
}Expand description
Immutable effect configuration, shared by preparation and rendering.
Fields§
§shader: ShaderProgram§params: [f32; 4]§padding_px: u32§envelope: Curve§seed: f32Implementations§
Trait Implementations§
impl StructuralPartialEq for Effect
Auto Trait Implementations§
impl Freeze for Effect
impl RefUnwindSafe for Effect
impl Send for Effect
impl Sync for Effect
impl Unpin for Effect
impl UnsafeUnpin for Effect
impl UnwindSafe for Effect
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