pub struct Queue {
raw: Queue,
swapchain_fn: Device,
device: Arc<DeviceShared>,
family_index: u32,
relay_semaphores: Mutex<RelaySemaphores>,
}
Fields§
§raw: Queue
§swapchain_fn: Device
§device: Arc<DeviceShared>
§family_index: u32
§relay_semaphores: Mutex<RelaySemaphores>
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: &[&SurfaceTexture],
(signal_fence, signal_value): (&mut Fence, FenceValue),
) -> Result<(), DeviceError>
unsafe fn submit( &self, command_buffers: &[&CommandBuffer], surface_textures: &[&SurfaceTexture], (signal_fence, signal_value): (&mut Fence, FenceValue), ) -> Result<(), DeviceError>
Submit
command_buffers
for execution on GPU. Read moreunsafe fn present( &self, surface: &Surface, texture: SurfaceTexture, ) -> Result<(), SurfaceError>
unsafe fn get_timestamp_period(&self) -> f32
Auto Trait Implementations§
impl !Freeze for Queue
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