pub struct CoreCommandEncoder {
pub(crate) context: ContextWgpuCore,
id: CommandEncoderId,
error_sink: Arc<Mutex<ErrorSinkRaw>>,
open: bool,
}
Available on
wgpu_core
only.Fields§
§context: ContextWgpuCore
§id: CommandEncoderId
§error_sink: Arc<Mutex<ErrorSinkRaw>>
§open: bool
Trait Implementations§
Source§impl CommandEncoderInterface for CoreCommandEncoder
impl CommandEncoderInterface for CoreCommandEncoder
fn copy_buffer_to_buffer( &self, source: &DispatchBuffer, source_offset: BufferAddress, destination: &DispatchBuffer, destination_offset: BufferAddress, copy_size: 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, subresource_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 build_acceleration_structures_unsafe_tlas<'a>( &self, blas: &mut dyn Iterator<Item = &'a BlasBuildEntry<'a>>, tlas: &mut dyn Iterator<Item = &'a TlasBuildEntry<'a>>, )
fn build_acceleration_structures<'a>( &self, blas: &mut dyn Iterator<Item = &'a BlasBuildEntry<'a>>, tlas: &mut dyn Iterator<Item = &'a TlasPackage>, )
fn transition_resources<'a>( &mut self, buffer_transitions: &mut dyn Iterator<Item = BufferTransition<&'a DispatchBuffer>>, texture_transitions: &mut dyn Iterator<Item = TextureTransition<&'a DispatchTexture>>, )
Source§impl Debug for CoreCommandEncoder
impl Debug for CoreCommandEncoder
Source§impl Drop for CoreCommandEncoder
impl Drop for CoreCommandEncoder
Source§impl From<CoreCommandEncoder> for DispatchCommandEncoder
impl From<CoreCommandEncoder> for DispatchCommandEncoder
Source§fn from(value: CoreCommandEncoder) -> Self
fn from(value: CoreCommandEncoder) -> Self
Converts to this type from the input type.
Source§impl Hash for CoreCommandEncoder
impl Hash for CoreCommandEncoder
Source§impl Ord for CoreCommandEncoder
impl Ord for CoreCommandEncoder
Source§impl PartialEq for CoreCommandEncoder
impl PartialEq for CoreCommandEncoder
Source§impl PartialOrd for CoreCommandEncoder
impl PartialOrd for CoreCommandEncoder
impl Eq for CoreCommandEncoder
Auto Trait Implementations§
impl Freeze for CoreCommandEncoder
impl !RefUnwindSafe for CoreCommandEncoder
impl Send for CoreCommandEncoder
impl Sync for CoreCommandEncoder
impl Unpin for CoreCommandEncoder
impl !UnwindSafe for CoreCommandEncoder
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.