makeFromMTKView

fun makeFromMTKView(context: DirectContext, mtkViewPtr: NativePointer, origin: SurfaceOrigin, sampleCount: Int, colorFormat: SurfaceColorFormat, colorSpace: ColorSpace?, surfaceProps: SurfaceProps?): Surface