Struct vulkano::command_buffer::commands_extra::CmdDispatch
[−]
[src]
pub struct CmdDispatch<P, S, Pc> { /* fields omitted */ }
Command that executes a compute shader.
Methods
impl<P, S, Pc> CmdDispatch<P, S, Pc> where
P: ComputePipelineAbstract,
S: DescriptorSetsCollection,
[src]
P: ComputePipelineAbstract,
S: DescriptorSetsCollection,
fn new(
dimensions: [u32; 3],
pipeline: P,
sets: S,
push_constants: Pc
) -> Result<CmdDispatch<P, S, Pc>, CmdDispatchError> where
P: Clone,
dimensions: [u32; 3],
pipeline: P,
sets: S,
push_constants: Pc
) -> Result<CmdDispatch<P, S, Pc>, CmdDispatchError> where
P: Clone,
See the documentation of the dispatch
method.