Scoop API

scoop:scoop.surface:0.1.0

src/platform/darwin/view.scoop

Selected production source · src/platform/darwin/view.scoop

1package scoop.surface
3import scoop.window.native.NativeWindowLease
5@Unsafe
6internal fun metalContentView(lease: NativeWindowLease): Ptr<Unit> = when (lease.handle) {
7 case AppKit(_, val view) -> view
8}