Module surfaces

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.