pub(crate) enum AsAction {
Build(AsBuild),
BindTlas(Arc<Tlas>),
TraceTlas(Arc<Tlas>, Arc<[RayTracingIntersectionType]>),
}Variants§
Build(AsBuild)
BindTlas(Arc<Tlas>)
A Tlas has been bound and used by any pass. The Blases it
was built with must be validated to have not been built after the
Tlas as backends have undefined behaviour on this (it would
cause AABBs to be incorrect, etc.)
TraceTlas(Arc<Tlas>, Arc<[RayTracingIntersectionType]>)
A RayTracingPipeline has had a trace_rays call on it.
This Tlas has been put in a bindgroup, and so the validation
must ensure that the maximum intersection index in the Tlas is
less than the length of the intersection group array and that the
types of the Blases are the same as those of the
RayTracingPipeline.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AsAction
impl !RefUnwindSafe for AsAction
impl Send for AsAction
impl Sync for AsAction
impl Unpin for AsAction
impl UnsafeUnpin for AsAction
impl !UnwindSafe for AsAction
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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