Struct vulkano::command_buffer::commands_raw::CmdSetState
[−]
[src]
pub struct CmdSetState { /* fields omitted */ }
Command that sets the state of the pipeline to the given one.
Only the values that are Some
are modified. Parameters that are None
are left untouched.
Methods
impl CmdSetState
[src]
fn new(device: Arc<Device>, state: DynamicState) -> CmdSetState
Builds a command.
Since this command checks whether the dynamic state is supported by the device, you have to pass the device as well when building the command.
fn device(&self) -> &Arc<Device>
fn state(&self) -> &DynamicState
Returns the state that is going to be set.