#[non_exhaustive]pub enum RenderError {
Show 24 variants
Gpu(GpuError),
Acceleration(BvhBuildError),
Entity(EntityIdError),
Picking(PickingError),
Dataset(DatasetError),
PickingOwnerMissing,
PickingPageMissing {
dataset: DatasetId,
kind: EntityKind,
},
RelationSourceMissing {
domain: RowDomain,
},
Packing(PackingError),
GraphCycle {
pass: &'static str,
},
UnknownResource {
pass: &'static str,
resource: u32,
},
InvalidImageSize,
SourceCapabilityMissing {
capability: &'static str,
},
InvalidSequence {
reason: &'static str,
},
SequenceBackpressure {
max_in_flight: u8,
},
InvalidFocusTarget {
reason: &'static str,
},
ImageEncoding {
summary: String,
},
SessionEncoding {
summary: String,
},
Residency {
reason: &'static str,
},
ChunkResidency(ChunkResidencyError),
BrickAtlas(BrickAtlasError),
AssetIdentityCollision {
dataset: DatasetId,
resident_fingerprint: u64,
incoming_fingerprint: u64,
},
SurfaceComponents {
reason: &'static str,
},
AssetArena(AssetArenaError),
}Expand description
Everything that can go wrong constructing or driving the engine.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Gpu(GpuError)
A device-level failure, carried upward with its own code.
Acceleration(BvhBuildError)
A CPU-built hierarchy exceeded the compact GPU index layout.
Entity(EntityIdError)
A logical entity row cannot be encoded in a chunk-local GPU identity.
Picking(PickingError)
A bounded global picking page transition or readback was invalid.
Dataset(DatasetError)
A chunk span used by a resident pick page was invalid.
PickingOwnerMissing
A visible scene entity references a structure that is no longer resident.
PickingPageMissing
A GPU record requested a namespace absent from the bounded page table.
Fields
kind: EntityKindEntity namespace whose page was required.
RelationSourceMissing
A validated dynamic relation source is not resident in the GPU scene.
Packing(PackingError)
CPU lowering exceeded a compact GPU record field.
GraphCycle
The render graph contains a dependency cycle.
UnknownResource
A pass referenced a resource id the graph never declared.
InvalidImageSize
Off-screen dimensions overflowed a portable texture/readback layout.
SourceCapabilityMissing
A physical representation requires source annotations not exposed by its provider.
InvalidSequence
Sequence timestamps or buffering parameters violate the deterministic contract.
SequenceBackpressure
The caller must drain a completed sequence frame before submitting more work.
InvalidFocusTarget
A scene-tracked optical target is stale, empty, or behind the camera.
ImageEncoding
The mapped image could not be encoded for publication.
SessionEncoding
A render session could not be encoded or decoded.
Residency
Fixed residency capacity or lifecycle state rejected frame work.
ChunkResidency(ChunkResidencyError)
Provider chunk residency failed with a typed lifecycle or capacity error.
BrickAtlas(BrickAtlasError)
Sparse volume atlas validation, capacity or lifecycle failure.
AssetIdentityCollision
One caller-owned dataset id was reused for different immutable data.
Fields
SurfaceComponents
Sampled-surface component lowering exceeded its bounded working set.
AssetArena(AssetArenaError)
Immutable GPU storage could not allocate or relocate safely.
Implementations§
Trait Implementations§
Source§impl Debug for RenderError
impl Debug for RenderError
Source§impl Display for RenderError
impl Display for RenderError
Source§impl Error for RenderError
impl Error for RenderError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<BrickAtlasError> for RenderError
impl From<BrickAtlasError> for RenderError
Source§fn from(source: BrickAtlasError) -> Self
fn from(source: BrickAtlasError) -> Self
Source§impl From<BvhBuildError> for RenderError
impl From<BvhBuildError> for RenderError
Source§fn from(source: BvhBuildError) -> Self
fn from(source: BvhBuildError) -> Self
Source§impl From<ChunkResidencyError> for RenderError
impl From<ChunkResidencyError> for RenderError
Source§fn from(source: ChunkResidencyError) -> Self
fn from(source: ChunkResidencyError) -> Self
Source§impl From<DatasetError> for RenderError
impl From<DatasetError> for RenderError
Source§fn from(source: DatasetError) -> Self
fn from(source: DatasetError) -> Self
Source§impl From<EntityIdError> for RenderError
impl From<EntityIdError> for RenderError
Source§fn from(source: EntityIdError) -> Self
fn from(source: EntityIdError) -> Self
Source§impl From<GpuError> for RenderError
impl From<GpuError> for RenderError
Source§impl From<PackingError> for RenderError
impl From<PackingError> for RenderError
Source§fn from(source: PackingError) -> Self
fn from(source: PackingError) -> Self
Source§impl From<PickingError> for RenderError
impl From<PickingError> for RenderError
Source§fn from(source: PickingError) -> Self
fn from(source: PickingError) -> Self
Auto Trait Implementations§
impl Freeze for RenderError
impl RefUnwindSafe for RenderError
impl Send for RenderError
impl Sync for RenderError
impl Unpin for RenderError
impl UnsafeUnpin for RenderError
impl UnwindSafe for RenderError
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
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> ⓘ
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> ⓘ
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