struct State<'scope, 'snatch_guard, 'cmd_enc> {
pipeline: Option<Arc<RayTracingPipeline>>,
pass: PassState<'scope, 'snatch_guard, 'cmd_enc>,
intermediate_trackers: Tracker,
}Fields§
§pipeline: Option<Arc<RayTracingPipeline>>§pass: PassState<'scope, 'snatch_guard, 'cmd_enc>§intermediate_trackers: TrackerImplementations§
Source§impl<'scope, 'snatch_guard, 'cmd_enc> State<'scope, 'snatch_guard, 'cmd_enc>
impl<'scope, 'snatch_guard, 'cmd_enc> State<'scope, 'snatch_guard, 'cmd_enc>
fn is_ready(&self) -> Result<(), TraceRayError>
fn flush_immediates(&mut self)
Sourcefn flush_bindings(&mut self) -> Result<(), RayTracingPassErrorInner>
fn flush_bindings(&mut self) -> Result<(), RayTracingPassErrorInner>
Flush binding state in preparation for a trace rays call.
This behaves almost the same as a compute pass’ equivalent
function, but also adds a AsAction::TraceTlas as trace ray
calls need a bit more validation.
This differs from a render pass, which the equivalent method on compute pass’ state discuss more.
Auto Trait Implementations§
impl<'scope, 'snatch_guard, 'cmd_enc> Freeze for State<'scope, 'snatch_guard, 'cmd_enc>
impl<'scope, 'snatch_guard, 'cmd_enc> !RefUnwindSafe for State<'scope, 'snatch_guard, 'cmd_enc>
impl<'scope, 'snatch_guard, 'cmd_enc> Send for State<'scope, 'snatch_guard, 'cmd_enc>
impl<'scope, 'snatch_guard, 'cmd_enc> Sync for State<'scope, 'snatch_guard, 'cmd_enc>
impl<'scope, 'snatch_guard, 'cmd_enc> Unpin for State<'scope, 'snatch_guard, 'cmd_enc>
impl<'scope, 'snatch_guard, 'cmd_enc> UnsafeUnpin for State<'scope, 'snatch_guard, 'cmd_enc>
impl<'scope, 'snatch_guard, 'cmd_enc> !UnwindSafe for State<'scope, 'snatch_guard, 'cmd_enc>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more