Struct vulkano::pipeline::input_assembly::InputAssembly [] [src]

pub struct InputAssembly {
    pub topology: PrimitiveTopology,
    pub primitive_restart_enable: bool,
}

How the input assembly stage should behave.

Fields

The type of primitives.

Note that some tologies don't support primitive restart.

If true, then the special index value 0xffff or 0xffffffff will tell the GPU that it is the end of the current primitive. A new primitive will restart at the next index.

Note that some tologies don't support primitive restart.

Methods

impl InputAssembly
[src]

Builds an InputAssembly struct with the TriangleList topology.

Trait Implementations

impl Copy for InputAssembly
[src]

impl Clone for InputAssembly
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for InputAssembly
[src]

Formats the value using the given formatter.