MTLRenderPassDescriptor.GetSamplePositions Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
GetSamplePositions(IntPtr, nuint) |
Füllt mit |
GetSamplePositions(MTLSamplePosition[]) |
Füllt mit programmierbaren |
GetSamplePositions(IntPtr, nuint)
Füllt mit count
programmierbaren positions
Beispielpositionen aus.
[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
Parameter
- positions
-
IntPtr
nativeint
Ein Array, das mit Beispielpositionen gefüllt werden soll. Kann null
sein.
Dieser Parameter kann null
sein.
- count
- System.System.UIntPtr System.unativeint
Die Anzahl der abzurufenden Postionen.
Gibt zurück
- Attribute
Gilt für:
GetSamplePositions(MTLSamplePosition[])
Füllt mit programmierbaren positions
Beispielpositionen aus.
public nuint GetSamplePositions (Metal.MTLSamplePosition[] positions);
member this.GetSamplePositions : Metal.MTLSamplePosition[] -> nuint
Parameter
- positions
- MTLSamplePosition[]
Ein Array, das mit Beispielpositionen gefüllt werden soll.