skia_
safe
0.81.0
Module surfaces
Module Items
Functions
In skia_
safe::
gpu
skia_safe
::
gpu
Module
surfaces
Copy item path
Source
Re-exports
§
pub use super::ganesh::
surface_ganesh
::*;
Functions
§
wrap_
ca_
metal_
layer
⚠
Creates
Surface
from CAMetalLayer. Returned
Surface
takes a reference on the CAMetalLayer. The ref on the layer will be released when the
Surface
is destroyed.
wrap_
mtk_
view
⚠
Creates
Surface
from MTKView. Returned
Surface
takes a reference on the MTKView. The ref on the layer will be released when the
Surface
is destroyed.