wgpu_hal

Trait DynQueue

Source
pub trait DynQueue: DynResource {
    // Required methods
    unsafe fn submit(
        &self,
        command_buffers: &[&dyn DynCommandBuffer],
        surface_textures: &[&dyn DynSurfaceTexture],
        signal_fence: (&mut dyn DynFence, FenceValue),
    ) -> Result<(), DeviceError>;
    unsafe fn present(
        &self,
        surface: &dyn DynSurface,
        texture: Box<dyn DynSurfaceTexture>,
    ) -> Result<(), SurfaceError>;
    unsafe fn get_timestamp_period(&self) -> f32;
}

Required Methods§

Source

unsafe fn submit( &self, command_buffers: &[&dyn DynCommandBuffer], surface_textures: &[&dyn DynSurfaceTexture], signal_fence: (&mut dyn DynFence, FenceValue), ) -> Result<(), DeviceError>

Source

unsafe fn present( &self, surface: &dyn DynSurface, texture: Box<dyn DynSurfaceTexture>, ) -> Result<(), SurfaceError>

Source

unsafe fn get_timestamp_period(&self) -> f32

Implementors§