File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -1427,7 +1427,7 @@ end
1427
1427
end
1428
1428
1429
1429
@static if Metal. is_macos (v " 15.0.0" )
1430
- @objcwrapper immutable = true MTLCommandQueueDescriptor <: NSObject
1430
+ @objcwrapper immutable = false MTLCommandQueueDescriptor <: NSObject
1431
1431
@objcproperties MTLCommandQueueDescriptor begin
1432
1432
@autoproperty maxCommandBufferCount:: UInt64 setter = setMaxCommandBufferCount
1433
1433
@autoproperty logState:: id{MTLLogState} setter = setLogState
@@ -2759,7 +2759,7 @@ end
2759
2759
end
2760
2760
2761
2761
@static if Metal. is_macos (v " 15.0.0" )
2762
- @objcwrapper immutable = true MTLLogStateDescriptor <: NSObject
2762
+ @objcwrapper immutable = false MTLLogStateDescriptor <: NSObject
2763
2763
@objcproperties MTLLogStateDescriptor begin
2764
2764
@autoproperty level:: MTLLogLevel setter = setLevel
2765
2765
@autoproperty bufferSize:: Int64 setter = setBufferSize
Original file line number Diff line number Diff line change 3
3
4
4
export MTLLogStateDescriptor
5
5
6
- # @objcwrapper immutable = true MTLLogStateDescriptor <: NSObject
6
+ # @objcwrapper immutable = false MTLLogStateDescriptor <: NSObject
7
7
8
8
function MTLLogStateDescriptor ()
9
9
handle = @objc [MTLLogStateDescriptor alloc]:: id{MTLLogStateDescriptor}
10
10
obj = MTLLogStateDescriptor (handle)
11
+ finalizer (release, obj)
11
12
@objc [obj:: id{MTLLogStateDescriptor} init]:: id{MTLLogStateDescriptor}
12
13
return obj
13
14
end
Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ immutable=false
53
53
[api .MTLCommandQueue ]
54
54
immutable =false
55
55
56
+ [api .MTLCommandQueueDescriptor ]
57
+ immutable =false
58
+
56
59
[api .MTLCompileOptions ]
57
60
immutable =false
58
61
[api .MTLCompileOptions .proptype ]
@@ -88,6 +91,9 @@ immutable=false
88
91
[api .MTLLibrary ]
89
92
immutable =false
90
93
94
+ [api .MTLLogStateDescriptor ]
95
+ immutable =false
96
+
91
97
[api .MTLSharedEvent ]
92
98
immutable =false
93
99
You can’t perform that action at this time.
0 commit comments