[][src]Struct conrod_vulkano::DrawCommand

pub struct DrawCommand {
    pub graphics_pipeline: Arc<dyn GraphicsPipelineAbstract + Send + Sync>,
    pub dynamic_state: DynamicState,
    pub descriptor_set: Arc<dyn DescriptorSet + Send + Sync>,
    pub vertex_buffer: Arc<ImmutableBuffer<[Vertex]>>,
}

A draw command that maps directly to the AutoCommandBufferBuilder::draw method. By returning DrawCommands, we can avoid consuming the entire AutoCommandBufferBuilder itself which might not always be available from APIs that wrap Vulkan.

Fields

graphics_pipeline: Arc<dyn GraphicsPipelineAbstract + Send + Sync>dynamic_state: DynamicStatedescriptor_set: Arc<dyn DescriptorSet + Send + Sync>vertex_buffer: Arc<ImmutableBuffer<[Vertex]>>

Auto Trait Implementations

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, 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.