pub struct DawnQueue { /* private fields */ }Methods from Deref<Target = Queue>§
pub fn submit(&self, commands: &[CommandBuffer])
pub fn on_submitted_work_done( &self, callback: impl FnMut(QueueWorkDoneStatus, String) + Send + 'static, ) -> Future
pub fn write_buffer(&self, buffer: Buffer, buffer_offset: u64, data: &[c_void])
pub fn write_texture( &self, destination: &TexelCopyTextureInfo, data: &[c_void], data_layout: &TexelCopyBufferLayout, write_size: &Extent3D, )
pub fn copy_texture_for_browser( &self, source: &TexelCopyTextureInfo, destination: &TexelCopyTextureInfo, copy_size: &Extent3D, options: &CopyTextureForBrowserOptions, )
pub fn copy_external_texture_for_browser( &self, source: &ImageCopyExternalTexture, destination: &TexelCopyTextureInfo, copy_size: &Extent3D, options: &CopyTextureForBrowserOptions, )
pub fn set_label(&self, label: String)
Trait Implementations§
Source§impl QueueInterface for DawnQueue
impl QueueInterface for DawnQueue
fn write_buffer( &self, buffer: &DispatchBuffer, offset: BufferAddress, data: &[u8], )
fn create_staging_buffer( &self, size: BufferSize, ) -> Option<DispatchQueueWriteBuffer>
fn validate_write_buffer( &self, _buffer: &DispatchBuffer, _offset: BufferAddress, _size: BufferSize, ) -> Option<()>
fn write_staging_buffer( &self, buffer: &DispatchBuffer, offset: BufferAddress, staging_buffer: &DispatchQueueWriteBuffer, )
fn write_texture( &self, texture: TexelCopyTextureInfo<'_>, data: &[u8], data_layout: TexelCopyBufferLayout, size: Extent3d, )
Source§fn submit(
&self,
command_buffers: &mut dyn Iterator<Item = DispatchCommandBuffer>,
) -> u64
fn submit( &self, command_buffers: &mut dyn Iterator<Item = DispatchCommandBuffer>, ) -> u64
Submit must always drain the iterator, even in the case of error.
fn get_timestamp_period(&self) -> f32
fn on_submitted_work_done(&self, callback: BoxSubmittedWorkDoneCallback)
fn compact_blas(&self, _blas: &DispatchBlas) -> (Option<u64>, DispatchBlas)
Auto Trait Implementations§
impl Freeze for DawnQueue
impl RefUnwindSafe for DawnQueue
impl Send for DawnQueue
impl Sync for DawnQueue
impl Unpin for DawnQueue
impl UnsafeUnpin for DawnQueue
impl UnwindSafe for DawnQueue
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