pub struct RaymarchPass { /* private fields */ }Implementations§
Source§impl RaymarchPass
impl RaymarchPass
Trait Implementations§
Source§impl Clone for RaymarchPass
impl Clone for RaymarchPass
Source§fn clone(&self) -> RaymarchPass
fn clone(&self) -> RaymarchPass
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl FramePass for RaymarchPass
impl FramePass for RaymarchPass
fn name(&self) -> &'static str
fn stage(&self) -> PassStage
fn color_load(&self) -> ColorLoad
fn record( &mut self, encoder: &mut CommandEncoder, target: &FrameTarget<'_>, ) -> Result<()>
fn attach(&mut self, gpu: &GpuContext, frame: FrameFormat) -> Result<()>
Source§fn depth_convention(&self) -> Option<DepthConvention>
fn depth_convention(&self) -> Option<DepthConvention>
None means the pass writes no depth; Some must match the frame’s convention to register.fn depth_read(&self) -> Option<DepthConvention>
True joins the stage’s shared render pass, so
attach must build pipelines against the frame’s color and depth formats.Source§fn clear_color(&self) -> Color
fn clear_color(&self) -> Color
Read before
prepare, and only when color_load is Clear.Auto Trait Implementations§
impl Freeze for RaymarchPass
impl !RefUnwindSafe for RaymarchPass
impl !Send for RaymarchPass
impl !Sync for RaymarchPass
impl Unpin for RaymarchPass
impl UnsafeUnpin for RaymarchPass
impl !UnwindSafe for RaymarchPass
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