Struct vulkano::command_buffer::commands_raw::CmdBindPipeline [] [src]

pub struct CmdBindPipeline<P> { /* fields omitted */ }

Command that binds a pipeline to a command buffer.

Methods

impl<P> CmdBindPipeline<P>
[src]

Builds a command that binds a compute pipeline to the compute pipeline bind point.

Use this command right before a compute dispatch.

Builds a command that binds a graphics pipeline to the graphics pipeline bind point.

Use this command right before a draw command.

This disables the command but keeps it alive. All getters still return the same value, but executing the command will not do anything.

Returns the device the pipeline is assocated with.

True if this is the graphics pipeline. False if the compute pipeline.

Returns an object giving access to the pipeline object that will be bound.

Trait Implementations

impl<Pl> DeviceOwned for CmdBindPipeline<Pl>
[src]

Returns the device that owns Self.