Condividi tramite


MTLRenderPassDescriptor.SetSamplePositions Metodo

Definizione

Overload

SetSamplePositions(MTLSamplePosition[])

Imposta i poston di esempio programmabili con i dati di positions.

SetSamplePositions(IntPtr, nuint)

Imposta i poston di esempio programmabili con count i dati di positions.

SetSamplePositions(MTLSamplePosition[])

Imposta i poston di esempio programmabili con i dati di positions.

public void SetSamplePositions (Metal.MTLSamplePosition[] positions);
member this.SetSamplePositions : Metal.MTLSamplePosition[] -> unit

Parametri

positions
MTLSamplePosition[]

Posizioni da impostare.

Si applica a

SetSamplePositions(IntPtr, nuint)

Imposta i poston di esempio programmabili con count i dati di positions.

[Foundation.Export("setSamplePositions: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 void SetSamplePositions (IntPtr positions, nuint count);
abstract member SetSamplePositions : nativeint * nuint -> unit
override this.SetSamplePositions : nativeint * nuint -> unit

Parametri

positions
IntPtr

nativeint

Posizioni da impostare. Può essere null.

Questo parametro può essere null.

count
System.System.UIntPtr System.unativeint

Numero di postions da impostare.

Attributi

Si applica a