#[non_exhaustive]pub enum SurfaceRasterization3d {
StrictPortable,
Native,
}Expand description
Selects the portability contract for filled 3D surfaces, not display edges.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
StrictPortable
Proves clip classification and projected orientation across the portable shader arithmetic envelope, using canonical CPU clipping for crossings. Ambiguous and edge-on triangles return a source-attributed error.
Native
Submits original indexed surfaces for native hardware clipping and rasterization. Finite shader arithmetic is still validated, but grazing, edge-on and camera-plane surfaces need no CPU topology proof.
Coverage at numerical boundaries may differ across adapters. No uncertain source triangles are dropped by the CPU. Hardware-clipped/zero-area primitives may produce no fragments; preflight reports submissions, not visibility, and does not claim CPU classification counts in this mode. Mathematical display edges retain their independent strict validation.
Trait Implementations§
Source§impl Clone for SurfaceRasterization3d
impl Clone for SurfaceRasterization3d
Source§fn clone(&self) -> SurfaceRasterization3d
fn clone(&self) -> SurfaceRasterization3d
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SurfaceRasterization3d
Source§impl Debug for SurfaceRasterization3d
impl Debug for SurfaceRasterization3d
Source§impl Default for SurfaceRasterization3d
impl Default for SurfaceRasterization3d
Source§fn default() -> SurfaceRasterization3d
fn default() -> SurfaceRasterization3d
impl Eq for SurfaceRasterization3d
Source§impl PartialEq for SurfaceRasterization3d
impl PartialEq for SurfaceRasterization3d
impl StructuralPartialEq for SurfaceRasterization3d
Auto Trait Implementations§
impl Freeze for SurfaceRasterization3d
impl RefUnwindSafe for SurfaceRasterization3d
impl Send for SurfaceRasterization3d
impl Sync for SurfaceRasterization3d
impl Unpin for SurfaceRasterization3d
impl UnsafeUnpin for SurfaceRasterization3d
impl UnwindSafe for SurfaceRasterization3d
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
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
key and return true if they are equal.