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]
fn bind_compute_pipeline(pipeline: P) -> CmdBindPipeline<P> where
P: ComputePipelineAbstract,
P: ComputePipelineAbstract,
Builds a command that binds a compute pipeline to the compute pipeline bind point.
Use this command right before a compute dispatch.
fn bind_graphics_pipeline(pipeline: P) -> CmdBindPipeline<P> where
P: GraphicsPipelineAbstract,
P: GraphicsPipelineAbstract,
Builds a command that binds a graphics pipeline to the graphics pipeline bind point.
Use this command right before a draw command.
fn disabled(self) -> CmdBindPipeline<P>
This disables the command but keeps it alive. All getters still return the same value, but executing the command will not do anything.
fn device(&self) -> &Arc<Device>
Returns the device the pipeline is assocated with.
fn is_graphics(&self) -> bool
True if this is the graphics pipeline. False if the compute pipeline.
fn sys(&self) -> CmdBindPipelineSys
Returns an object giving access to the pipeline object that will be bound.