pub struct ParametricCurveScene { /* private fields */ }Expand description
A parametric line curve of any CurveFamily, sampled per frame and driven
by named preset parameters over the audio analysis.
Implementations§
Source§impl ParametricCurveScene
impl ParametricCurveScene
Sourcepub fn new(
renderer: Rc<RefCell<LineRenderer>>,
max_segments: usize,
device: &Device,
surface_format: TextureFormat,
seg3d_cap: usize,
max_coc: f32,
) -> Self
pub fn new( renderer: Rc<RefCell<LineRenderer>>, max_segments: usize, device: &Device, surface_format: TextureFormat, seg3d_cap: usize, max_coc: f32, ) -> Self
Build the scene over the shared line renderer, preallocating its segment
buffer to the cap, and the space families’ own seg3d renderer with
seg3d_cap instances and blur held to max_coc pixels — the tier’s
caps.
Auto Trait Implementations§
impl Freeze for ParametricCurveScene
impl !RefUnwindSafe for ParametricCurveScene
impl !Send for ParametricCurveScene
impl !Sync for ParametricCurveScene
impl Unpin for ParametricCurveScene
impl UnsafeUnpin for ParametricCurveScene
impl !UnwindSafe for ParametricCurveScene
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