Struct gfx_backend_empty::Surface [−][src]
pub struct Surface;
Expand description
Dummy surface.
Trait Implementations
type SwapchainImage = SwapchainImage
type SwapchainImage = SwapchainImage
An opaque type wrapping the swapchain image.
unsafe fn configure_swapchain(
&mut self,
_: &Device,
_: SwapchainConfig
) -> Result<(), SwapchainError>
unsafe fn configure_swapchain(
&mut self,
_: &Device,
_: SwapchainConfig
) -> Result<(), SwapchainError>
Set up the swapchain associated with the surface to have the given format.
Remove the associated swapchain from this surface. Read more
unsafe fn acquire_image(
&mut self,
_: u64
) -> Result<(SwapchainImage, Option<Suboptimal>), AcquireError>
unsafe fn acquire_image(
&mut self,
_: u64
) -> Result<(SwapchainImage, Option<Suboptimal>), AcquireError>
Acquire a new swapchain image for rendering. Read more
Auto Trait Implementations
impl RefUnwindSafe for Surface
impl UnwindSafe for Surface