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

Fields of PatchList

Methods

impl PrimitiveTopology
[src]

[src]

Returns true if this primitive topology supports using primitives restart.

Trait Implementations

impl Copy for PrimitiveTopology
[src]

impl Clone for PrimitiveTopology
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PrimitiveTopology
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for PrimitiveTopology
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for PrimitiveTopology
[src]

impl Into<PrimitiveTopology> for PrimitiveTopology
[src]

[src]

Performs the conversion.