Move vendor:Metal to core:sys/darwin/Metal

This commit is contained in:
gingerBill
2022-02-12 17:59:40 +00:00
parent ae3b95b194
commit ff5d6a994b
5 changed files with 2 additions and 2 deletions
@@ -0,0 +1,14 @@
package objc_Metal
import NS "core:sys/darwin/Foundation"
@(require)
foreign import "system:Metal.framework"
@(default_calling_convention="c", link_prefix="MTL")
foreign Metal {
CopyAllDevices :: proc() -> ^NS.Array ---
CopyAllDevicesWithObserver :: proc(observer: ^^NS.Object, handler: DeviceNotificationHandler) -> ^NS.Array ---
CreateSystemDefaultDevice :: proc() -> ^NS.Object ---
RemoveDeviceObserver :: proc(observer: ^NS.Object) ---
}