skia_safe::gpu::ganesh::mtl

Type Alias BackendContext

Source
pub type BackendContext = Handle<GrMtlBackendContext>;

Aliased Type§

struct BackendContext(/* private fields */);

Implementations§

Source§

impl BackendContext

Source

pub unsafe fn new(device: Handle, queue: Handle) -> Self

§Safety

Unsafe because it expects various objects in form of c_void pointers.

This function retains all the non-null handles passed to it and releases them as soon the BackendContext is dropped.

Trait Implementations§

Source§

impl Debug for BackendContext

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Send for BackendContext

Source§

impl Sync for BackendContext