@@ -135,6 +135,10 @@ public enum SupportedNpadStyle
135135 [ NativeProperty ( "switchUseCPUProfiler" , TargetType . Field ) ]
136136 extern public static bool useSwitchCPUProfiler { get ; set ; }
137137
138+ // System Memory (used for virtual memory mapping).
139+ [ NativeProperty ( "switchSystemResourceMemory" , TargetType . Field ) ]
140+ extern public static int systemResourceMemory { get ; set ; }
141+
138142 [ StaticAccessor ( "GetPlayerSettings()" , StaticAccessorType . Dot ) ]
139143 extern public static int queueCommandMemory
140144 {
@@ -144,6 +148,67 @@ extern public static int queueCommandMemory
144148 set ;
145149 }
146150
151+ [ StaticAccessor ( "PlayerSettings" , StaticAccessorType . DoubleColon ) ]
152+ extern public static int defaultSwitchQueueCommandMemory { get ; }
153+
154+ [ StaticAccessor ( "PlayerSettings" , StaticAccessorType . DoubleColon ) ]
155+ extern public static int minimumSwitchQueueCommandMemory { get ; }
156+
157+ [ StaticAccessor ( "GetPlayerSettings()" , StaticAccessorType . Dot ) ]
158+ extern public static int queueControlMemory
159+ {
160+ [ NativeMethod ( "GetSwitchQueueControlMemory" ) ]
161+ get ;
162+ [ NativeMethod ( "SetSwitchQueueControlMemory" ) ]
163+ set ;
164+ }
165+
166+ [ StaticAccessor ( "PlayerSettings" , StaticAccessorType . DoubleColon ) ]
167+ extern public static int defaultSwitchQueueControlMemory { get ; }
168+
169+ [ StaticAccessor ( "PlayerSettings" , StaticAccessorType . DoubleColon ) ]
170+ extern public static int minimumSwitchQueueControlMemory { get ; }
171+
172+ [ StaticAccessor ( "GetPlayerSettings()" , StaticAccessorType . Dot ) ]
173+ extern public static int queueComputeMemory
174+ {
175+ [ NativeMethod ( "GetSwitchQueueComputeMemory" ) ]
176+ get ;
177+ [ NativeMethod ( "SetSwitchQueueComputeMemory" ) ]
178+ set ;
179+ }
180+
181+ [ StaticAccessor ( "PlayerSettings" , StaticAccessorType . DoubleColon ) ]
182+ extern public static int defaultSwitchQueueComputeMemory { get ; }
183+
184+ // GPU Pool information.
185+ [ StaticAccessor ( "GetPlayerSettings()" , StaticAccessorType . Dot ) ]
186+ extern public static int NVNShaderPoolsGranularity
187+ {
188+ [ NativeMethod ( "GetSwitchNVNShaderPoolsGranularity" ) ]
189+ get ;
190+ [ NativeMethod ( "SetSwitchNVNShaderPoolsGranularity" ) ]
191+ set ;
192+ }
193+
194+ [ StaticAccessor ( "GetPlayerSettings()" , StaticAccessorType . Dot ) ]
195+ extern public static int NVNDefaultPoolsGranularity
196+ {
197+ [ NativeMethod ( "GetSwitchNVNDefaultPoolsGranularity" ) ]
198+ get ;
199+ [ NativeMethod ( "SetSwitchNVNDefaultPoolsGranularity" ) ]
200+ set ;
201+ }
202+
203+ [ StaticAccessor ( "GetPlayerSettings()" , StaticAccessorType . Dot ) ]
204+ extern public static int NVNOtherPoolsGranularity
205+ {
206+ [ NativeMethod ( "GetSwitchNVNOtherPoolsGranularity" ) ]
207+ get ;
208+ [ NativeMethod ( "SetSwitchNVNOtherPoolsGranularity" ) ]
209+ set ;
210+ }
211+
147212 // Controls the behavior of Switch's auto-changing screen resolution
148213 [ NativeProperty ( "switchScreenResolutionBehavior" , TargetType . Field ) ]
149214 extern public static ScreenResolutionBehavior screenResolutionBehavior { get ; set ; }
0 commit comments