Struct voodoo::CommandPoolBuilder
[−]
[src]
pub struct CommandPoolBuilder<'b> { /* fields omitted */ }
A builder for CommandPool
.
Methods
impl<'b> CommandPoolBuilder<'b>
[src]
pub fn new() -> CommandPoolBuilder<'b>
[src]
Returns a new render pass builder.
pub fn flags<'s>(
&'s mut self,
flags: CommandPoolCreateFlags
) -> &'s mut CommandPoolBuilder<'b>
[src]
&'s mut self,
flags: CommandPoolCreateFlags
) -> &'s mut CommandPoolBuilder<'b>
Specifies the usage behavior for the pool and command buffers allocated from it.
pub fn queue_family_index<'s>(
&'s mut self,
queue_family_index: u32
) -> &'s mut CommandPoolBuilder<'b>
[src]
&'s mut self,
queue_family_index: u32
) -> &'s mut CommandPoolBuilder<'b>
Specifies a queue family.
All command buffers allocated from this command pool must be submitted on queues from the same queue family.
pub fn build(&self, device: Device) -> VdResult<CommandPool>
[src]
Creates and returns a new CommandPool
Trait Implementations
impl<'b> Debug for CommandPoolBuilder<'b>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'b> Clone for CommandPoolBuilder<'b>
[src]
fn clone(&self) -> CommandPoolBuilder<'b>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more