[−][src]Struct wgpu_core::command::RawPass
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]
&mut self,
commands: &[ComputeCommand],
offsets: &[DynamicOffset]
)
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]
parent_id: CommandEncoderId,
desc: &RenderPassDescriptor
) -> Self
impl<P: Copy> RawPass<P>
[src]
pub unsafe fn fill_render_commands(
&mut self,
commands: &[RenderCommand],
offsets: &[DynamicOffset]
)
[src]
&mut self,
commands: &[RenderCommand],
offsets: &[DynamicOffset]
)
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
Auto Trait Implementations
impl<P> RefUnwindSafe for RawPass<P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
impl<P> !Send for RawPass<P>
impl<P> !Sync for RawPass<P>
impl<P> Unpin for RawPass<P> where
P: Unpin,
P: Unpin,
impl<P> UnwindSafe for RawPass<P> where
P: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,