pub struct MeshOutputs { /* private fields */ }Expand description
The MeshOutputs struct captures mesh-stage topology and positions for VM assertions.
Implementations§
Source§impl MeshOutputs
impl MeshOutputs
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates an empty capture that can be bound before a mesh shader invocation.
Sourcepub const fn vertex_count(&self) -> u32
pub const fn vertex_count(&self) -> u32
Returns the vertex count declared by the most recent mesh invocation.
Sourcepub const fn primitive_count(&self) -> u32
pub const fn primitive_count(&self) -> u32
Returns the primitive count declared by the most recent mesh invocation.
Trait Implementations§
Source§impl Clone for MeshOutputs
impl Clone for MeshOutputs
Source§fn clone(&self) -> MeshOutputs
fn clone(&self) -> MeshOutputs
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 moreSource§impl Debug for MeshOutputs
impl Debug for MeshOutputs
Source§impl Default for MeshOutputs
impl Default for MeshOutputs
Source§fn default() -> MeshOutputs
fn default() -> MeshOutputs
Returns the “default value” for a type. Read more
Source§impl PartialEq for MeshOutputs
impl PartialEq for MeshOutputs
impl StructuralPartialEq for MeshOutputs
Auto Trait Implementations§
impl Freeze for MeshOutputs
impl RefUnwindSafe for MeshOutputs
impl Send for MeshOutputs
impl Sync for MeshOutputs
impl Unpin for MeshOutputs
impl UnsafeUnpin for MeshOutputs
impl UnwindSafe for MeshOutputs
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