pub enum PreparedSceneError {
CapacityTooLarge,
InvalidGeometrySources,
AllocationFailed {
requested_bytes: usize,
},
BudgetExceeded {
resource: SceneBudgetResource,
limit: usize,
actual: usize,
},
}Expand description
Failure while uploading or restoring immutable prepared-scene geometry.
Variants§
CapacityTooLarge
Tessellated geometry exceeds the active device’s vertex-buffer limit.
InvalidGeometrySources
Command sources or derived tessellated vertices are outside the portable GPU input envelope.
AllocationFailed
CPU storage for scene tessellation could not be reserved.
BudgetExceeded
Actual prepared-scene work exceeded an explicit scene limit.
Trait Implementations§
Source§impl Clone for PreparedSceneError
impl Clone for PreparedSceneError
Source§fn clone(&self) -> PreparedSceneError
fn clone(&self) -> PreparedSceneError
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 moreimpl Copy for PreparedSceneError
Source§impl Debug for PreparedSceneError
impl Debug for PreparedSceneError
Source§impl Display for PreparedSceneError
impl Display for PreparedSceneError
impl Eq for PreparedSceneError
Source§impl Error for PreparedSceneError
impl Error for PreparedSceneError
1.30.0 · 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 PartialEq for PreparedSceneError
impl PartialEq for PreparedSceneError
impl StructuralPartialEq for PreparedSceneError
Auto Trait Implementations§
impl Freeze for PreparedSceneError
impl RefUnwindSafe for PreparedSceneError
impl Send for PreparedSceneError
impl Sync for PreparedSceneError
impl Unpin for PreparedSceneError
impl UnsafeUnpin for PreparedSceneError
impl UnwindSafe for PreparedSceneError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.