[][src]Struct ash_tray::vk_helper::CommandBuffer

pub struct CommandBuffer<T: Clone>(_);

Methods

impl<T: Clone> CommandBuffer<T>[src]

pub fn new(
    command_pool: &CommandPool<T>,
    fence: &Fence<T>,
    create_info: CommandBufferAllocateInfoBuilder,
    user: T
) -> VkResult<Self>
[src]

pub fn pipeline_barrier(
    &self,
    src_stage_mask: PipelineStageFlags,
    dst_stage_mask: PipelineStageFlags,
    dependency_flags: DependencyFlags,
    memory_barriers: &[MemoryBarrier],
    buffer_memory_barriers: Vec<(Buffer<T>, BufferMemoryBarrierBuilder)>,
    image_memory_barriers: Vec<(Image<T>, ImageMemoryBarrierBuilder)>
)
[src]

pub fn copy_buffer_to_image(
    &self,
    src_buffer: &Buffer<T>,
    dst_image: &Image<T>,
    dst_image_layout: ImageLayout,
    regions: &[BufferImageCopy]
)
[src]

pub fn begin_render_pass(
    &self,
    framebuffer: &Framebuffer<T>,
    begin_info: RenderPassBeginInfoBuilder
)
[src]

pub fn bind_vertex_buffers(
    &self,
    first_binding: u32,
    buffers: &[Buffer<T>],
    offsets: &[DeviceSize]
)
[src]

pub fn bind_index_buffer(
    &self,
    buffer: &Buffer<T>,
    offset: DeviceSize,
    index_type: IndexType
)
[src]

pub fn bind_pipeline(&self, pipeline: &Pipeline<T>)[src]

pub fn bind_descriptor_sets(
    &self,
    first_set: u32,
    descriptor_sets: &[DescriptorSet<T>],
    dynamic_offsets: &[u32]
)
[src]

pub fn queue_submit(
    &self,
    queue: &Queue<T>,
    submit_info: SubmitInfoBuilder
) -> VkResult<()>
[src]

pub fn wait_and_reset(
    &self,
    timeout: u64
) -> (VkResult<()>, Option<VkResult<()>>)
[src]

Trait Implementations

impl<T: Clone> Clone for CommandBuffer<T>[src]

impl<T: Clone> Deref for CommandBuffer<T>[src]

type Target = RcCommandBuffer<T>

The resulting type after dereferencing.

Auto Trait Implementations

impl<T> !Send for CommandBuffer<T>

impl<T> Unpin for CommandBuffer<T>

impl<T> !Sync for CommandBuffer<T>

impl<T> !UnwindSafe for CommandBuffer<T>

impl<T> !RefUnwindSafe for CommandBuffer<T>

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]