Function skia_safe::gpu::surfaces::get_backend_texture
source · pub fn get_backend_texture(
surface: &mut Surface,
handle_access: BackendHandleAccess
) -> Option<BackendTexture>Expand description
Retrieves the back-end texture. If Surface has no back-end texture, None
is returned.
The returned gpu::BackendTexture should be discarded if the Surface is drawn to or deleted.
Returns: GPU texture reference; None on failure