pub struct CoreQueue {
pub(crate) context: ContextWgpuCore,
id: QueueId,
error_sink: Arc<Mutex<ErrorSinkRaw>>,
}
Available on
wgpu_core
only.Fields§
§context: ContextWgpuCore
§id: QueueId
§error_sink: Arc<Mutex<ErrorSinkRaw>>
Trait Implementations§
source§impl Ord for CoreQueue
impl Ord for CoreQueue
source§impl PartialOrd for CoreQueue
impl PartialOrd for CoreQueue
source§impl QueueInterface for CoreQueue
impl QueueInterface for CoreQueue
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, )
fn submit( &self, command_buffers: &mut dyn Iterator<Item = DispatchCommandBuffer>, ) -> u64
fn get_timestamp_period(&self) -> f32
fn on_submitted_work_done(&self, callback: Box<dyn FnOnce() + Send + 'static>)
impl Eq for CoreQueue
Auto Trait Implementations§
impl Freeze for CoreQueue
impl !RefUnwindSafe for CoreQueue
impl Send for CoreQueue
impl Sync for CoreQueue
impl Unpin for CoreQueue
impl !UnwindSafe for CoreQueue
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.