[−][src]Struct wgpu::CommandEncoder
Methods
impl CommandEncoder
[src]
pub fn finish(self) -> CommandBuffer
[src]
pub fn begin_render_pass(&mut self, desc: &RenderPassDescriptor) -> RenderPass
[src]
pub fn begin_compute_pass(&mut self) -> ComputePass
[src]
pub fn copy_buffer_to_buffer(
&mut self,
source: &Buffer,
source_offset: u32,
destination: &Buffer,
destination_offset: u32,
copy_size: u32
)
[src]
&mut self,
source: &Buffer,
source_offset: u32,
destination: &Buffer,
destination_offset: u32,
copy_size: u32
)
pub fn copy_buffer_to_texture(
&mut self,
source: BufferCopyView,
destination: TextureCopyView,
copy_size: Extent3d
)
[src]
&mut self,
source: BufferCopyView,
destination: TextureCopyView,
copy_size: Extent3d
)
pub fn copy_texture_to_buffer(
&mut self,
source: TextureCopyView,
destination: BufferCopyView,
copy_size: Extent3d
)
[src]
&mut self,
source: TextureCopyView,
destination: BufferCopyView,
copy_size: Extent3d
)
pub fn copy_texture_to_texture(
&mut self,
source: TextureCopyView,
destination: TextureCopyView,
copy_size: Extent3d
)
[src]
&mut self,
source: TextureCopyView,
destination: TextureCopyView,
copy_size: Extent3d
)
Auto Trait Implementations
impl Send for CommandEncoder
impl Sync for CommandEncoder
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.