Trait wgpu_hal::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§