Struct vulkano::command_buffer::commands_raw::CmdBindVertexBuffers
[−]
[src]
pub struct CmdBindVertexBuffers<B> { /* fields omitted */ }
Command that binds vertex buffers to a command buffer.
Methods
impl<B> CmdBindVertexBuffers<B>
[src]
fn new<S>(source_def: &S, buffers: B) -> CmdBindVertexBuffers<B> where
S: VertexSource<B>,
S: VertexSource<B>,
Builds the command.
fn hash(&self) -> &CmdBindVertexBuffersHash
Returns a hash that represents the command.
fn diff(&mut self, previous_hash: &CmdBindVertexBuffersHash)
Modifies the command so that it doesn't bind vertex buffers that were already bound by a previous command with the given hash.
Note that this doesn't modify the hash of the command.