Struct vulkano::pipeline::input_assembly::InputAssembly [−][src]
pub struct InputAssembly { pub topology: PrimitiveTopology, pub primitive_restart_enable: bool, }
👎 Deprecated
Expand description
How the input assembly stage should behave.
Fields
topology: PrimitiveTopology
👎 Deprecated
The type of primitives.
Note that some topologies don’t support primitive restart.
primitive_restart_enable: bool
👎 Deprecated
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 topologies don’t support primitive restart.
Implementations
Builds an InputAssembly
struct with the TriangleList
topology.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InputAssembly
impl Send for InputAssembly
impl Sync for InputAssembly
impl Unpin for InputAssembly
impl UnwindSafe for InputAssembly
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.