Enum vulkano::pipeline::input_assembly::PrimitiveTopology [−][src]
pub enum PrimitiveTopology { PointList, LineList, LineStrip, TriangleList, TriangleStrip, TriangleFan, LineListWithAdjacency, LineStripWithAdjacency, TriangleListWithAdjacency, 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
TriangleListWithAdjacency
TriangleStripWithAdjacency
PatchList
Fields of PatchList
vertices_per_patch: u32 |
Methods
impl PrimitiveTopology
[src]
impl PrimitiveTopology
pub fn supports_primitive_restart(&self) -> bool
[src]
pub fn supports_primitive_restart(&self) -> bool
Returns true if this primitive topology supports using primitives restart.
Trait Implementations
impl Copy for PrimitiveTopology
[src]
impl Copy for PrimitiveTopology
impl Clone for PrimitiveTopology
[src]
impl Clone for PrimitiveTopology
fn clone(&self) -> PrimitiveTopology
[src]
fn clone(&self) -> PrimitiveTopology
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for PrimitiveTopology
[src]
impl Debug for PrimitiveTopology
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for PrimitiveTopology
[src]
impl PartialEq for PrimitiveTopology
fn eq(&self, other: &PrimitiveTopology) -> bool
[src]
fn eq(&self, other: &PrimitiveTopology) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PrimitiveTopology) -> bool
[src]
fn ne(&self, other: &PrimitiveTopology) -> bool
This method tests for !=
.
impl Eq for PrimitiveTopology
[src]
impl Eq for PrimitiveTopology
impl Into<PrimitiveTopology> for PrimitiveTopology
[src]
impl Into<PrimitiveTopology> for PrimitiveTopology
fn into(self) -> PrimitiveTopology
[src]
fn into(self) -> PrimitiveTopology
Performs the conversion.
Auto Trait Implementations
impl Send for PrimitiveTopology
impl Send for PrimitiveTopology
impl Sync for PrimitiveTopology
impl Sync for PrimitiveTopology