pub enum Mesh3dRenderError {
RendererMismatch,
InvalidGeometryTransform,
UnportableSurfaceTopology,
InstanceCapacityTooLarge,
CameraTargetAspectMismatch,
InvalidEdgeProjection,
}Expand description
Failure while encoding a depth-tested 3D scene.
Variants§
RendererMismatch
A mesh or target belongs to another renderer/device identity.
InvalidGeometryTransform
Model/camera inputs or their arithmetic leave the portable GPU envelope.
UnportableSurfaceTopology
A surface triangle would require unproven clipping or has a projected orientation that is not stable across portable shader arithmetic.
InstanceCapacityTooLarge
The visible per-frame object buffers exceed a GPU or host capacity.
CameraTargetAspectMismatch
Camera projection aspect does not match the target logical viewport.
InvalidEdgeProjection
Edge clipping, projection, or style arithmetic is not portable for this target.
Trait Implementations§
Source§impl Clone for Mesh3dRenderError
impl Clone for Mesh3dRenderError
Source§fn clone(&self) -> Mesh3dRenderError
fn clone(&self) -> Mesh3dRenderError
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 Mesh3dRenderError
Source§impl Debug for Mesh3dRenderError
impl Debug for Mesh3dRenderError
Source§impl Display for Mesh3dRenderError
impl Display for Mesh3dRenderError
impl Eq for Mesh3dRenderError
Source§impl Error for Mesh3dRenderError
impl Error for Mesh3dRenderError
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 Mesh3dRenderError
impl PartialEq for Mesh3dRenderError
impl StructuralPartialEq for Mesh3dRenderError
Auto Trait Implementations§
impl Freeze for Mesh3dRenderError
impl RefUnwindSafe for Mesh3dRenderError
impl Send for Mesh3dRenderError
impl Sync for Mesh3dRenderError
impl Unpin for Mesh3dRenderError
impl UnsafeUnpin for Mesh3dRenderError
impl UnwindSafe for Mesh3dRenderError
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.