pub enum MeshOutputTopology {
Points,
Lines,
Triangles,
}Expand description
The output topology for a mesh shader. Note that mesh shaders don’t allow things like triangle-strips.
Variants§
Points
Outputs individual vertices to be rendered as points.
Lines
Outputs groups of 2 vertices to be renderedas lines .
Triangles
Outputs groups of 3 vertices to be rendered as triangles.
Implementations§
Source§impl MeshOutputTopology
impl MeshOutputTopology
pub const fn to_builtin(self) -> BuiltIn
Trait Implementations§
Source§impl Clone for MeshOutputTopology
impl Clone for MeshOutputTopology
Source§fn clone(&self) -> MeshOutputTopology
fn clone(&self) -> MeshOutputTopology
Returns a duplicate of the value. Read more
1.0.0 · 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 MeshOutputTopology
impl Debug for MeshOutputTopology
Source§impl PartialEq for MeshOutputTopology
impl PartialEq for MeshOutputTopology
impl Copy for MeshOutputTopology
impl Eq for MeshOutputTopology
impl StructuralPartialEq for MeshOutputTopology
Auto Trait Implementations§
impl Freeze for MeshOutputTopology
impl RefUnwindSafe for MeshOutputTopology
impl Send for MeshOutputTopology
impl Sync for MeshOutputTopology
impl Unpin for MeshOutputTopology
impl UnsafeUnpin for MeshOutputTopology
impl UnwindSafe for MeshOutputTopology
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.