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
topology: PrimitiveTopology
The type of primitives.
Note that some tologies don't support primitive restart.
primitive_restart_enable: bool
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]
fn triangle_list() -> InputAssembly
Builds an InputAssembly
struct with the TriangleList
topology.
Trait Implementations
impl Copy for InputAssembly
[src]
impl Clone for InputAssembly
[src]
fn clone(&self) -> InputAssembly
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