MTLRenderPassDescriptor.GetSamplePositions Metodo

Definizione

Overload

GetSamplePositions(IntPtr, nuint)

Riempie con positionscount posizioni campione programmabili.

GetSamplePositions(MTLSamplePosition[])

Riempie con positions posizioni campione programmabili.

GetSamplePositions(IntPtr, nuint)

Riempie con positionscount posizioni campione programmabili.

[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

Parametri

positions
IntPtr

nativeint

Matrice da riempire con posizioni di esempio. Può essere null.

Questo parametro può essere null.

count
System.System.UIntPtr System.unativeint

Numero di postoni da ottenere.

Restituisce

System.System.UIntPtr System.unativeint
Attributi

Si applica a

GetSamplePositions(MTLSamplePosition[])

Riempie con positions posizioni campione programmabili.

public nuint GetSamplePositions (Metal.MTLSamplePosition[] positions);
member this.GetSamplePositions : Metal.MTLSamplePosition[] -> nuint

Parametri

positions
MTLSamplePosition[]

Matrice da riempire con posizioni di esempio.

Restituisce

System.System.UIntPtr System.unativeint

Si applica a