Enum vulkano::pipeline::input_assembly::PrimitiveTopology
[−]
[src]
pub enum PrimitiveTopology { PointList, LineList, LineStrip, TriangleList, TriangleStrip, TriangleFan, LineListWithAdjacency, LineStripWithAdjacency, TriangleListWithAdjancecy, TriangleStripWithAdjacency, PatchList { vertices_per_patch: u32, }, }
Describes how vertices must be grouped together to form primitives.
Note that some topologies don't support primitive restart.
Variants
PointList
LineList
LineStrip
TriangleList
TriangleStrip
TriangleFan
LineListWithAdjacency
LineStripWithAdjacency
TriangleListWithAdjancecy
TriangleStripWithAdjacency
PatchList
Fields
vertices_per_patch: u32 |
Methods
impl PrimitiveTopology
[src]
fn supports_primitive_restart(&self) -> bool
Returns true if this primitive topology supports using primitives restart.
Trait Implementations
impl Copy for PrimitiveTopology
[src]
impl Clone for PrimitiveTopology
[src]
fn clone(&self) -> PrimitiveTopology
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for PrimitiveTopology
[src]
impl PartialEq for PrimitiveTopology
[src]
fn eq(&self, __arg_0: &PrimitiveTopology) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PrimitiveTopology) -> bool
This method tests for !=
.
impl Eq for PrimitiveTopology
[src]
impl Into<PrimitiveTopology> for PrimitiveTopology
[src]
fn into(self) -> PrimitiveTopology
Performs the conversion.