pub struct Queue { /* private fields */ }Available on
gles only.Trait Implementations§
Source§impl DynResource for Queue
impl DynResource for Queue
Source§impl Queue for Queue
impl Queue for Queue
type A = Api
Source§unsafe fn submit(
&self,
command_buffers: &[&CommandBuffer],
_surface_textures: &[&Texture],
(signal_fence, signal_value): (&Fence, FenceValue),
) -> Result<(), DeviceError>
unsafe fn submit( &self, command_buffers: &[&CommandBuffer], _surface_textures: &[&Texture], (signal_fence, signal_value): (&Fence, FenceValue), ) -> Result<(), DeviceError>
Submit
command_buffers for execution on GPU. Read moreSource§unsafe fn present(
&self,
surface: &Surface,
texture: Texture,
) -> Result<(), SurfaceError>
unsafe fn present( &self, surface: &Surface, texture: Texture, ) -> Result<(), SurfaceError>
Present a surface texture to the screen. Read more
unsafe fn get_timestamp_period(&self) -> f32
Source§unsafe fn wait_for_idle(&self) -> Result<(), DeviceError>
unsafe fn wait_for_idle(&self) -> Result<(), DeviceError>
Block until all previously submitted work on this queue has completed,
including any pending presentations. Read more
Auto Trait Implementations§
impl !Freeze for Queue
impl !RefUnwindSafe for Queue
impl !Send for Queue
impl !Sync for Queue
impl !UnwindSafe for Queue
impl Unpin for Queue
impl UnsafeUnpin 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