pub enum BuildAccelerationStructureError {
Show 27 variants
Encoder(CommandEncoderError),
Device(DeviceError),
InvalidBufferId,
InvalidBuffer(ResourceErrorIdent),
MissingBlasInputUsageFlag(ResourceErrorIdent),
InsufficientBufferSize(ResourceErrorIdent, u64, u64),
UnalignedIndexBufferOffset(ResourceErrorIdent),
UnalignedTransformBufferOffset(ResourceErrorIdent),
InvalidIndexCount(ResourceErrorIdent, u32),
MissingAssociatedData(ResourceErrorIdent),
IncompatibleBlasBuildSizes(ResourceErrorIdent),
IncompatibleBlasFlags(ResourceErrorIdent, AccelerationStructureGeometryFlags, AccelerationStructureGeometryFlags),
IncompatibleBlasVertexCount(ResourceErrorIdent, u32, u32),
DifferentBlasVertexFormats(ResourceErrorIdent, VertexFormat, VertexFormat),
BlasIndexCountProvidedMismatch(ResourceErrorIdent),
IncompatibleBlasIndexCount(ResourceErrorIdent, u32, u32),
DifferentBlasIndexFormats(ResourceErrorIdent, Option<IndexFormat>, Option<IndexFormat>),
MissingIndexBuffer(ResourceErrorIdent),
InvalidBlasId,
InvalidBlas(ResourceErrorIdent),
TlasInvalidCustomIndex(ResourceErrorIdent),
TlasInstanceCountExceeded(ResourceErrorIdent, u32, u32),
InvalidBlasIdForInstance,
InvalidTlasId,
InvalidTlas(ResourceErrorIdent),
MissingFeature,
MissingTlasInputUsageFlag(ResourceErrorIdent),
}
Expand description
Error encountered while attempting to do a copy on a command encoder.
Variants§
Encoder(CommandEncoderError)
Device(DeviceError)
InvalidBufferId
InvalidBuffer(ResourceErrorIdent)
MissingBlasInputUsageFlag(ResourceErrorIdent)
InsufficientBufferSize(ResourceErrorIdent, u64, u64)
UnalignedIndexBufferOffset(ResourceErrorIdent)
UnalignedTransformBufferOffset(ResourceErrorIdent)
InvalidIndexCount(ResourceErrorIdent, u32)
MissingAssociatedData(ResourceErrorIdent)
IncompatibleBlasBuildSizes(ResourceErrorIdent)
IncompatibleBlasFlags(ResourceErrorIdent, AccelerationStructureGeometryFlags, AccelerationStructureGeometryFlags)
IncompatibleBlasVertexCount(ResourceErrorIdent, u32, u32)
DifferentBlasVertexFormats(ResourceErrorIdent, VertexFormat, VertexFormat)
BlasIndexCountProvidedMismatch(ResourceErrorIdent)
IncompatibleBlasIndexCount(ResourceErrorIdent, u32, u32)
DifferentBlasIndexFormats(ResourceErrorIdent, Option<IndexFormat>, Option<IndexFormat>)
MissingIndexBuffer(ResourceErrorIdent)
InvalidBlasId
InvalidBlas(ResourceErrorIdent)
TlasInvalidCustomIndex(ResourceErrorIdent)
TlasInstanceCountExceeded(ResourceErrorIdent, u32, u32)
InvalidBlasIdForInstance
InvalidTlasId
InvalidTlas(ResourceErrorIdent)
MissingFeature
MissingTlasInputUsageFlag(ResourceErrorIdent)
Trait Implementations§
source§impl Clone for BuildAccelerationStructureError
impl Clone for BuildAccelerationStructureError
source§fn clone(&self) -> BuildAccelerationStructureError
fn clone(&self) -> BuildAccelerationStructureError
Returns a copy 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 Error for BuildAccelerationStructureError
impl Error for BuildAccelerationStructureError
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<CommandEncoderError> for BuildAccelerationStructureError
impl From<CommandEncoderError> for BuildAccelerationStructureError
source§fn from(source: CommandEncoderError) -> Self
fn from(source: CommandEncoderError) -> Self
Converts to this type from the input type.
source§impl From<DeviceError> for BuildAccelerationStructureError
impl From<DeviceError> for BuildAccelerationStructureError
source§fn from(source: DeviceError) -> Self
fn from(source: DeviceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BuildAccelerationStructureError
impl RefUnwindSafe for BuildAccelerationStructureError
impl Send for BuildAccelerationStructureError
impl Sync for BuildAccelerationStructureError
impl Unpin for BuildAccelerationStructureError
impl UnwindSafe for BuildAccelerationStructureError
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)