pub struct SgCommandEncoder { /* private fields */ }Trait Implementations§
Source§impl CommandEncoderInterface for SgCommandEncoder
impl CommandEncoderInterface for SgCommandEncoder
fn copy_buffer_to_buffer( &self, src: &DispatchBuffer, src_offset: BufferAddress, dst: &DispatchBuffer, dst_offset: BufferAddress, size: Option<BufferAddress>, )
fn copy_buffer_to_texture( &self, source: TexelCopyBufferInfo<'_>, destination: TexelCopyTextureInfo<'_>, copy_size: Extent3d, )
fn copy_texture_to_buffer( &self, source: TexelCopyTextureInfo<'_>, destination: TexelCopyBufferInfo<'_>, copy_size: Extent3d, )
fn copy_texture_to_texture( &self, source: TexelCopyTextureInfo<'_>, destination: TexelCopyTextureInfo<'_>, copy_size: Extent3d, )
fn begin_compute_pass( &self, desc: &ComputePassDescriptor<'_>, ) -> DispatchComputePass
fn begin_render_pass( &self, desc: &RenderPassDescriptor<'_>, ) -> DispatchRenderPass
fn finish(&mut self) -> DispatchCommandBuffer
fn clear_texture( &self, texture: &DispatchTexture, range: &ImageSubresourceRange, )
fn clear_buffer( &self, buffer: &DispatchBuffer, offset: BufferAddress, size: Option<BufferAddress>, )
fn insert_debug_marker(&self, label: &str)
fn push_debug_group(&self, label: &str)
fn pop_debug_group(&self)
fn write_timestamp(&self, query_set: &DispatchQuerySet, query_index: u32)
fn resolve_query_set( &self, query_set: &DispatchQuerySet, first_query: u32, query_count: u32, destination: &DispatchBuffer, destination_offset: BufferAddress, )
fn mark_acceleration_structures_built<'a>( &self, _blas: &mut dyn Iterator<Item = &'a Blas>, _tlas: &mut dyn Iterator<Item = &'a Tlas>, )
fn build_acceleration_structures<'a>( &self, blas: &mut dyn Iterator<Item = &'a BlasBuildEntry<'a>>, tlas: &mut dyn Iterator<Item = &'a Tlas>, )
fn transition_resources<'a>( &mut self, _b: &mut dyn Iterator<Item = BufferTransition<&'a DispatchBuffer>>, _t: &mut dyn Iterator<Item = TextureTransition<&'a DispatchTexture>>, )
Auto Trait Implementations§
impl Freeze for SgCommandEncoder
impl !RefUnwindSafe for SgCommandEncoder
impl !Send for SgCommandEncoder
impl !Sync for SgCommandEncoder
impl Unpin for SgCommandEncoder
impl UnsafeUnpin for SgCommandEncoder
impl !UnwindSafe for SgCommandEncoder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more