[][src]Struct wgpu_core::command::RawPass

#[repr(C)]pub struct RawPass<P> { /* fields omitted */ }

Methods

impl RawPass<CommandEncoderId>[src]

pub unsafe fn new_compute(parent: CommandEncoderId) -> Self[src]

pub unsafe fn fill_compute_commands(
    &mut self,
    commands: &[ComputeCommand],
    offsets: &[DynamicOffset]
)
[src]

pub unsafe fn finish_compute(self) -> (Vec<u8>, CommandEncoderId)[src]

impl RawPass<CommandEncoderId>[src]

pub unsafe fn new_render(
    parent_id: CommandEncoderId,
    desc: &RenderPassDescriptor
) -> Self
[src]

impl<P: Copy> RawPass<P>[src]

pub unsafe fn fill_render_commands(
    &mut self,
    commands: &[RenderCommand],
    offsets: &[DynamicOffset]
)
[src]

pub unsafe fn finish_render(self) -> (Vec<u8>, P)[src]

impl<P: Copy> RawPass<P>[src]

pub unsafe fn invalidate(&mut self) -> (Vec<u8>, P)[src]

Make pass contents invalid, return the contained data.

Any following access to the pass will result in a crash for accessing address 0.

Trait Implementations

impl<P: Debug> Debug for RawPass<P>[src]

Auto Trait Implementations

impl<P> RefUnwindSafe for RawPass<P> where
    P: RefUnwindSafe

impl<P> !Send for RawPass<P>

impl<P> !Sync for RawPass<P>

impl<P> Unpin for RawPass<P> where
    P: Unpin

impl<P> UnwindSafe for RawPass<P> where
    P: UnwindSafe

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, 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.