Struct vulkano::command_buffer::commands_raw::CmdBindDescriptorSets
[−]
[src]
pub struct CmdBindDescriptorSets<S, P> { /* fields omitted */ }
Command that binds descriptor sets to the command buffer.
Methods
impl<S, P> CmdBindDescriptorSets<S, P> where
P: PipelineLayoutAbstract,
S: DescriptorSetsCollection,
[src]
P: PipelineLayoutAbstract,
S: DescriptorSetsCollection,
fn new(
graphics: bool,
pipeline_layout: P,
sets: S
) -> Result<CmdBindDescriptorSets<S, P>, CmdBindDescriptorSetsError>
graphics: bool,
pipeline_layout: P,
sets: S
) -> Result<CmdBindDescriptorSets<S, P>, CmdBindDescriptorSetsError>
Builds the command.
If graphics
is true, the sets will be bound to the graphics slot. If false, they will be
bound to the compute slot.
Returns an error if the sets are not compatible with the pipeline layout.
impl<S, P> CmdBindDescriptorSets<S, P>
[src]
fn is_graphics(&self) -> bool
True if we bind to the graphics pipeline. False if the compute pipeline.
Trait Implementations
impl<S, Pl> DeviceOwned for CmdBindDescriptorSets<S, Pl> where
Pl: DeviceOwned,
[src]
Pl: DeviceOwned,