Struct gfx_backend_gl::Surface [−][src]
pub struct Surface { /* fields omitted */ }
Trait Implementations
impl PresentationSurface<Backend> for Surface
[src]
impl PresentationSurface<Backend> for Surface
[src]type SwapchainImage = SwapchainImage
An opaque type wrapping the swapchain image.
unsafe fn configure_swapchain(
&mut self,
device: &Device,
config: SwapchainConfig
) -> Result<(), SwapchainError>
[src]
&mut self,
device: &Device,
config: SwapchainConfig
) -> Result<(), SwapchainError>
unsafe fn unconfigure_swapchain(&mut self, device: &Device)
[src]
unsafe fn acquire_image(
&mut self,
_timeout_ns: u64
) -> Result<(Self::SwapchainImage, Option<Suboptimal>), AcquireError>
[src]
&mut self,
_timeout_ns: u64
) -> Result<(Self::SwapchainImage, Option<Suboptimal>), AcquireError>
impl Surface<Backend> for Surface
[src]
impl Surface<Backend> for Surface
[src]fn supports_queue_family(&self, _: &QueueFamily) -> bool
[src]
fn capabilities(&self, _physical_device: &PhysicalDevice) -> SurfaceCapabilities
[src]
fn supported_formats(
&self,
_physical_device: &PhysicalDevice
) -> Option<Vec<Format>>
[src]
&self,
_physical_device: &PhysicalDevice
) -> Option<Vec<Format>>