Function vizia_core::vg::gpu::surfaces::get_backend_render_target
pub fn get_backend_render_target(
surface: &mut RCHandle<SkSurface>,
handle_access: SkSurface_BackendHandleAccess,
) -> Option<Handle<GrBackendRenderTarget>>
Expand description
Retrieves the back-end render target. If Surface
has no back-end render target, None
is returned.
The returned gpu::BackendRenderTarget
should be discarded if the Surface
is drawn to
or deleted.
Returns: GPU render target reference; None
on failure