Function vizia_core::vg::gpu::surfaces::get_backend_texture
pub fn get_backend_texture(
surface: &mut RCHandle<SkSurface>,
handle_access: SkSurface_BackendHandleAccess,
) -> Option<RefHandle<GrBackendTexture>>
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