Skip to main content

SgQueue

Struct SgQueue 

Source
pub struct SgQueue(/* private fields */);

Trait Implementations§

Source§

impl Debug for SgQueue

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl QueueInterface for SgQueue

Source§

fn write_buffer( &self, buffer: &DispatchBuffer, offset: BufferAddress, data: &[u8], )

Source§

fn create_staging_buffer( &self, size: BufferSize, ) -> Option<DispatchQueueWriteBuffer>

Source§

fn validate_write_buffer( &self, _buffer: &DispatchBuffer, _offset: BufferAddress, _size: BufferSize, ) -> Option<()>

Source§

fn write_staging_buffer( &self, buffer: &DispatchBuffer, offset: BufferAddress, staging: &DispatchQueueWriteBuffer, )

Source§

fn write_texture( &self, texture: TexelCopyTextureInfo<'_>, data: &[u8], layout: TexelCopyBufferLayout, size: Extent3d, )

Source§

fn submit( &self, command_buffers: &mut dyn Iterator<Item = DispatchCommandBuffer>, ) -> u64

Submit must always drain the iterator, even in the case of error.
Source§

fn get_timestamp_period(&self) -> f32

Source§

fn on_submitted_work_done(&self, callback: BoxSubmittedWorkDoneCallback)

Source§

fn compact_blas(&self, blas: &DispatchBlas) -> (Option<u64>, DispatchBlas)

Source§

fn present(&self, detail: &DispatchSurfaceOutputDetail)

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> AsAny for T
where T: 'static,

§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> CommonTraits for T
where T: AsAny + Any + Debug + WasmNotSendSync,

§

impl<T> WasmNotSend for T

§

impl<T> WasmNotSendSync for T
where T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T