Freigeben über


MTLRenderPassDescriptor.GetSamplePositions Methode

Definition

Überlädt

GetSamplePositions(IntPtr, nuint)

Füllt mit count programmierbaren positions Beispielpositionen aus.

GetSamplePositions(MTLSamplePosition[])

Füllt mit programmierbaren positions Beispielpositionen aus.

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

System.System.UIntPtr System.unativeint
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.

Gibt zurück

System.System.UIntPtr System.unativeint

Gilt für: