pub struct Mesh3dPreflightReport { /* private fields */ }Expand description
Non-mutating preflight counts for the exact scene, camera, target and budget.
Implementations§
Source§impl Mesh3dPreflightReport
impl Mesh3dPreflightReport
Sourcepub const fn generated_vertex_count(self) -> usize
pub const fn generated_vertex_count(self) -> usize
Returns uploaded clip-space vertices, including unchanged triangles in objects that also contain crossing triangles.
Sourcepub const fn generated_triangle_count(self) -> usize
pub const fn generated_triangle_count(self) -> usize
Returns generated triangle-list primitives submitted to the GPU.
Sourcepub const fn generated_upload_bytes(self) -> usize
pub const fn generated_upload_bytes(self) -> usize
Returns exact additional surface and display-edge upload bytes.
Sourcepub const fn generated_edge_count(self) -> usize
pub const fn generated_edge_count(self) -> usize
Returns canonical clip-space display edges uploaded for crossing objects. Their two endpoints share the surface’s CPU-defined transform so legal shader dot associations cannot shift edges away from their own faces.
Sourcepub const fn clipped_source_triangle_count(self) -> usize
pub const fn clipped_source_triangle_count(self) -> usize
Returns original triangles that intersect the frustum boundary and produce a nonempty clipped polygon.
Sourcepub const fn discarded_source_triangle_count(self) -> usize
pub const fn discarded_source_triangle_count(self) -> usize
Returns original triangles proven entirely outside the frustum.
Trait Implementations§
Source§impl Clone for Mesh3dPreflightReport
impl Clone for Mesh3dPreflightReport
Source§fn clone(&self) -> Mesh3dPreflightReport
fn clone(&self) -> Mesh3dPreflightReport
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 Mesh3dPreflightReport
Source§impl Debug for Mesh3dPreflightReport
impl Debug for Mesh3dPreflightReport
Source§impl Default for Mesh3dPreflightReport
impl Default for Mesh3dPreflightReport
Source§fn default() -> Mesh3dPreflightReport
fn default() -> Mesh3dPreflightReport
Returns the “default value” for a type. Read more
impl Eq for Mesh3dPreflightReport
Source§impl PartialEq for Mesh3dPreflightReport
impl PartialEq for Mesh3dPreflightReport
impl StructuralPartialEq for Mesh3dPreflightReport
Auto Trait Implementations§
impl Freeze for Mesh3dPreflightReport
impl RefUnwindSafe for Mesh3dPreflightReport
impl Send for Mesh3dPreflightReport
impl Sync for Mesh3dPreflightReport
impl Unpin for Mesh3dPreflightReport
impl UnsafeUnpin for Mesh3dPreflightReport
impl UnwindSafe for Mesh3dPreflightReport
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.