pub struct Queue { /* private fields */ }
Implementations§
source§impl Queue
impl Queue
pub fn write_buffer( &self, buffer: Fallible<Buffer>, buffer_offset: BufferAddress, data: &[u8] ) -> Result<(), QueueWriteError>
pub fn create_staging_buffer( &self, buffer_size: BufferSize ) -> Result<(StagingBuffer, NonNull<u8>), QueueWriteError>
pub fn write_staging_buffer( &self, buffer: Fallible<Buffer>, buffer_offset: BufferAddress, staging_buffer: StagingBuffer ) -> Result<(), QueueWriteError>
pub fn validate_write_buffer( &self, buffer: Fallible<Buffer>, buffer_offset: u64, buffer_size: BufferSize ) -> Result<(), QueueWriteError>
pub fn write_texture( &self, destination: TexelCopyTextureInfo<Fallible<Texture>>, data: &[u8], data_layout: &TexelCopyBufferLayout, size: &Extent3d ) -> Result<(), QueueWriteError>
pub fn submit( &self, command_buffers: &[Arc<CommandBuffer>] ) -> Result<SubmissionIndex, (SubmissionIndex, QueueSubmitError)>
pub fn get_timestamp_period(&self) -> f32
sourcepub fn on_submitted_work_done(
&self,
closure: SubmittedWorkDoneClosure
) -> Option<SubmissionIndex>
pub fn on_submitted_work_done( &self, closure: SubmittedWorkDoneClosure ) -> Option<SubmissionIndex>
closure
is guaranteed to be called.
Trait Implementations§
source§impl Labeled for Queue
impl Labeled for Queue
source§fn label(&self) -> &str
fn label(&self) -> &str
Returns a string identifying this resource for logging and errors. Read more
fn error_ident(&self) -> ResourceErrorIdent
source§impl ParentDevice for Queue
impl ParentDevice for Queue
Auto Trait Implementations§
impl !RefUnwindSafe for Queue
impl Send for Queue
impl Sync for Queue
impl Unpin for Queue
impl !UnwindSafe for Queue
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