You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Convenience descriptor creation function for an arbitrary amount of layers stored in a C-array.
19
+
///
20
+
/// Parameter `screenSize`: The dimensions, in screen space pixels, of the region where variable rasterization is applied. The depth component of MTLSize is ignored.
21
+
///
22
+
/// Parameter `layerCount`: The number of layers in the descriptor.
23
+
///
24
+
/// Parameter `layers`: An array of pointers to layer descriptors. The array must contain layerCount non-null pointers to MTLRasterizationRateLayerDescriptor instances.
25
+
///
26
+
/// Returns: A descriptor containing all the specified layers. Add or remove layers using setObject:atIndexedSubscript:.
27
+
///
28
+
/// The function copies the array of pointers internally, the caller need not keep the array alive after creating the descriptor.
0 commit comments