Type Alias skia_safe::gpu::mtl::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