Struct voodoo::CommandPool
[−]
[src]
pub struct CommandPool { /* fields omitted */ }
Methods
impl CommandPool
[src]
fn builder<'b>() -> CommandPoolBuilder<'b>
[src]
Returns a new CommandPoolBuilder
.
fn allocate_command_buffers(
&self,
level: CommandBufferLevel,
count: u32
) -> VdResult<SmallVec<[CommandBuffer; 16]>>
[src]
&self,
level: CommandBufferLevel,
count: u32
) -> VdResult<SmallVec<[CommandBuffer; 16]>>
Allocates command buffers from an existing command pool.
https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkAllocateCommandBuffers.html
fn allocate_command_buffer(
&self,
level: CommandBufferLevel
) -> VdResult<CommandBuffer>
[src]
&self,
level: CommandBufferLevel
) -> VdResult<CommandBuffer>
Allocates a command buffer from an existing command pool.
https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkAllocateCommandBuffers.html
fn handle(&self) -> CommandPoolHandle
[src]
Returns this object's handle.
fn device(&self) -> &Device
[src]
Returns a reference to the associated device.
Trait Implementations
impl Debug for CommandPool
[src]
impl Clone for CommandPool
[src]
fn clone(&self) -> CommandPool
[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