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

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

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

impl InputAssembly[src]

pub fn triangle_list() -> InputAssembly[src]

Builds an InputAssembly struct with the TriangleList topology.

Trait Implementations

impl Clone for InputAssembly[src]

impl Copy for InputAssembly[src]

impl Debug for InputAssembly[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.