mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
Update to Metal 3
This commit is contained in:
Vendored
+12
-2
@@ -4,9 +4,11 @@ import NS "vendor:darwin/Foundation"
|
||||
|
||||
foreign import "system:Metal.framework"
|
||||
|
||||
CommonCounter :: ^NS.String
|
||||
CommonCounterSet :: ^NS.String
|
||||
CommonCounter :: ^NS.String
|
||||
CommonCounterSet :: ^NS.String
|
||||
DeviceNotificationName :: ^NS.String
|
||||
ErrorUserInfoKey :: ^NS.ErrorUserInfoKey
|
||||
ErrorDomain :: ^NS.ErrorDomain
|
||||
|
||||
foreign Metal {
|
||||
@(linkage="weak") CommonCounterTimestamp: CommonCounter
|
||||
@@ -36,4 +38,12 @@ foreign Metal {
|
||||
@(linkage="weak") DeviceWasAddedNotification: DeviceNotificationName
|
||||
@(linkage="weak") DeviceRemovalRequestedNotification: DeviceNotificationName
|
||||
@(linkage="weak") DeviceWasRemovedNotification: DeviceNotificationName
|
||||
}
|
||||
|
||||
foreign Metal {
|
||||
@(linkage="weak") CommandBufferEncoderInfoErrorKey: ErrorUserInfoKey
|
||||
}
|
||||
|
||||
foreign Metal {
|
||||
@(linkage="weak") IOErrorDomain: ErrorDomain
|
||||
}
|
||||
Reference in New Issue
Block a user