Struct vulkano::command_buffer::commands_raw::CmdPushConstants
[−]
[src]
pub struct CmdPushConstants<Pc, Pl> { /* fields omitted */ }
Command that sets the current push constants.
Methods
impl<Pc, Pl> CmdPushConstants<Pc, Pl> where
Pl: PipelineLayoutAbstract,
[src]
Pl: PipelineLayoutAbstract,
fn new(
pipeline_layout: Pl,
push_constants: Pc
) -> Result<CmdPushConstants<Pc, Pl>, CmdPushConstantsError>
pipeline_layout: Pl,
push_constants: Pc
) -> Result<CmdPushConstants<Pc, Pl>, CmdPushConstantsError>
Builds the command.
Returns an error if the push constants are not compatible with the pipeline layout.