pub enum RayTracingPassErrorInner {
Show 20 variants
Device(DeviceError),
EncoderState(EncoderStateError),
InvalidParentEncoder,
DebugGroupError(DebugGroupError),
BindGroupIndexOutOfRange(BindGroupIndexOutOfRange),
DestroyedResource(DestroyedResourceError),
UnalignedIndirectBufferOffset(BufferAddress),
IndirectBufferOverrun {
offset: u64,
end_offset: u64,
buffer_size: u64,
},
ResourceUsageCompatibility(ResourceUsageCompatibilityError),
MissingBufferUsage(MissingBufferUsageError),
TraceRay(TraceRayError),
Bind(BindError),
ImmediateData(ImmediateUploadError),
ImmediateOffsetAlignment,
ImmediateDataizeAlignment,
ImmediateOutOfMemory,
MissingFeatures(MissingFeatures),
MissingDownlevelFlags(MissingDownlevelFlags),
PassEnded,
InvalidResource(InvalidResourceError),
}Expand description
Error encountered when performing a ray tracing pass.
Variants§
Device(DeviceError)
EncoderState(EncoderStateError)
InvalidParentEncoder
DebugGroupError(DebugGroupError)
BindGroupIndexOutOfRange(BindGroupIndexOutOfRange)
DestroyedResource(DestroyedResourceError)
UnalignedIndirectBufferOffset(BufferAddress)
IndirectBufferOverrun
ResourceUsageCompatibility(ResourceUsageCompatibilityError)
MissingBufferUsage(MissingBufferUsageError)
TraceRay(TraceRayError)
Bind(BindError)
ImmediateData(ImmediateUploadError)
ImmediateOffsetAlignment
ImmediateDataizeAlignment
ImmediateOutOfMemory
MissingFeatures(MissingFeatures)
MissingDownlevelFlags(MissingDownlevelFlags)
PassEnded
InvalidResource(InvalidResourceError)
Trait Implementations§
Source§impl Clone for RayTracingPassErrorInner
impl Clone for RayTracingPassErrorInner
Source§fn clone(&self) -> RayTracingPassErrorInner
fn clone(&self) -> RayTracingPassErrorInner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RayTracingPassErrorInner
impl Debug for RayTracingPassErrorInner
Source§impl Display for RayTracingPassErrorInner
impl Display for RayTracingPassErrorInner
Source§impl Error for RayTracingPassErrorInner
impl Error for RayTracingPassErrorInner
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<BindError> for RayTracingPassErrorInner
impl From<BindError> for RayTracingPassErrorInner
Source§impl From<BindGroupIndexOutOfRange> for RayTracingPassErrorInner
impl From<BindGroupIndexOutOfRange> for RayTracingPassErrorInner
Source§fn from(source: BindGroupIndexOutOfRange) -> Self
fn from(source: BindGroupIndexOutOfRange) -> Self
Converts to this type from the input type.
Source§impl From<DebugGroupError> for RayTracingPassErrorInner
impl From<DebugGroupError> for RayTracingPassErrorInner
Source§fn from(source: DebugGroupError) -> Self
fn from(source: DebugGroupError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for RayTracingPassErrorInner
impl From<DestroyedResourceError> for RayTracingPassErrorInner
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DeviceError> for RayTracingPassErrorInner
impl From<DeviceError> for RayTracingPassErrorInner
Source§fn from(source: DeviceError) -> Self
fn from(source: DeviceError) -> Self
Converts to this type from the input type.
Source§impl From<EncoderStateError> for RayTracingPassErrorInner
impl From<EncoderStateError> for RayTracingPassErrorInner
Source§fn from(source: EncoderStateError) -> Self
fn from(source: EncoderStateError) -> Self
Converts to this type from the input type.
Source§impl From<ImmediateUploadError> for RayTracingPassErrorInner
impl From<ImmediateUploadError> for RayTracingPassErrorInner
Source§fn from(source: ImmediateUploadError) -> Self
fn from(source: ImmediateUploadError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidOrDestroyedResourceError> for RayTracingPassErrorInner
impl From<InvalidOrDestroyedResourceError> for RayTracingPassErrorInner
Source§fn from(error: InvalidOrDestroyedResourceError) -> Self
fn from(error: InvalidOrDestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidResourceError> for RayTracingPassErrorInner
impl From<InvalidResourceError> for RayTracingPassErrorInner
Source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
Source§impl From<MissingBufferUsageError> for RayTracingPassErrorInner
impl From<MissingBufferUsageError> for RayTracingPassErrorInner
Source§fn from(source: MissingBufferUsageError) -> Self
fn from(source: MissingBufferUsageError) -> Self
Converts to this type from the input type.
Source§impl From<MissingDownlevelFlags> for RayTracingPassErrorInner
impl From<MissingDownlevelFlags> for RayTracingPassErrorInner
Source§fn from(source: MissingDownlevelFlags) -> Self
fn from(source: MissingDownlevelFlags) -> Self
Converts to this type from the input type.
Source§impl From<MissingFeatures> for RayTracingPassErrorInner
impl From<MissingFeatures> for RayTracingPassErrorInner
Source§fn from(source: MissingFeatures) -> Self
fn from(source: MissingFeatures) -> Self
Converts to this type from the input type.
Source§impl From<MissingPipeline> for RayTracingPassErrorInner
impl From<MissingPipeline> for RayTracingPassErrorInner
Source§fn from(value: MissingPipeline) -> Self
fn from(value: MissingPipeline) -> Self
Converts to this type from the input type.
Source§impl From<ResourceUsageCompatibilityError> for RayTracingPassErrorInner
impl From<ResourceUsageCompatibilityError> for RayTracingPassErrorInner
Source§fn from(source: ResourceUsageCompatibilityError) -> Self
fn from(source: ResourceUsageCompatibilityError) -> Self
Converts to this type from the input type.
Source§impl From<TraceRayError> for RayTracingPassErrorInner
impl From<TraceRayError> for RayTracingPassErrorInner
Source§fn from(source: TraceRayError) -> Self
fn from(source: TraceRayError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RayTracingPassErrorInner
impl !RefUnwindSafe for RayTracingPassErrorInner
impl Send for RayTracingPassErrorInner
impl Sync for RayTracingPassErrorInner
impl Unpin for RayTracingPassErrorInner
impl UnsafeUnpin for RayTracingPassErrorInner
impl !UnwindSafe for RayTracingPassErrorInner
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