Struct gfx_backend_gl::Instance [−][src]
pub struct Instance { /* fields omitted */ }
Trait Implementations
Return all available graphics adapters.
unsafe fn create_surface(
&self,
has_handle: &impl HasRawWindowHandle
) -> Result<Surface, InitError>
unsafe fn create_surface(
&self,
has_handle: &impl HasRawWindowHandle
) -> Result<Surface, InitError>
Destroy a surface, freeing the resources associated with it and releasing it from this graphics API. Read more
unsafe fn create_display_plane_surface(
&self,
_display_plane: &DisplayPlane<'_, Backend>,
_plane_stack_index: u32,
_transformation: SurfaceTransform,
_alpha: DisplayPlaneAlpha,
_image_extent: Extent2D
) -> Result<Surface, DisplayPlaneSurfaceError>
unsafe fn create_display_plane_surface(
&self,
_display_plane: &DisplayPlane<'_, Backend>,
_plane_stack_index: u32,
_transformation: SurfaceTransform,
_alpha: DisplayPlaneAlpha,
_image_extent: Extent2D
) -> Result<Surface, DisplayPlaneSurfaceError>
Create a new surface from a display plane. Read more