Re-exports§
pub use super::ganesh::surface_ganesh::*;
Functions§
- wrap_
ca_ ⚠metal_ layer - Creates
Surface
from CAMetalLayer. ReturnedSurface
takes a reference on the CAMetalLayer. The ref on the layer will be released when theSurface
is destroyed. - wrap_
mtk_ ⚠view - Creates
Surface
from MTKView. ReturnedSurface
takes a reference on the MTKView. The ref on the layer will be released when theSurface
is destroyed.