MTLRenderPassDescriptor.GetSamplePositions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetSamplePositions(IntPtr, nuint) |
Fills |
GetSamplePositions(MTLSamplePosition[]) |
Fills |
GetSamplePositions(IntPtr, nuint)
Fills positions
with count
programmable sample positions.
[Foundation.Export("getSamplePositions:count:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nuint GetSamplePositions (IntPtr positions, nuint count);
abstract member GetSamplePositions : nativeint * nuint -> nuint
override this.GetSamplePositions : nativeint * nuint -> nuint
Parameters
- positions
-
IntPtr
nativeint
An array to fill with sample positions. May be null
.
This parameter can be null
.
- count
- System.System.UIntPtr System.unativeint
The number of postions to get.
Returns
System.System.UIntPtr
System.unativeint
- Attributes
Applies to
GetSamplePositions(MTLSamplePosition[])
Fills positions
with programmable sample positions.
public nuint GetSamplePositions (Metal.MTLSamplePosition[] positions);
member this.GetSamplePositions : Metal.MTLSamplePosition[] -> nuint
Parameters
- positions
- MTLSamplePosition[]
An array to fill with sample positions.
Returns
System.System.UIntPtr
System.unativeint