Struct asche::GraphicsCommandBuffer[][src]

pub struct GraphicsCommandBuffer { /* fields omitted */ }

A command buffer for the compute queue. Command buffer need to be reset using the parent pool.

Implementations

impl GraphicsCommandBuffer[src]

pub fn record(&self) -> Result<GraphicsCommandEncoder<'_>, AscheError>[src]

Begins to record the command buffer. Encoder will finish recording on drop.

pub fn set_semaphores(
    &mut self,
    wait_semaphore: Option<CommandBufferSemaphore<'_>>,
    signal_semaphore: Option<CommandBufferSemaphore<'_>>
)
[src]

Sets the wait and signal semaphores of the command buffer.

Trait Implementations

impl Debug for GraphicsCommandBuffer[src]

impl Drop for GraphicsCommandBuffer[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.