Compartilhar via


MTLRenderPassDescriptor.SetSamplePositions Método

Definição

Sobrecargas

SetSamplePositions(MTLSamplePosition[])

Define as postagens de exemplo programáveis com dados de positions.

SetSamplePositions(IntPtr, nuint)

Define as postagens de exemplo programáveis com count dados de positions.

SetSamplePositions(MTLSamplePosition[])

Define as postagens de exemplo programáveis com dados de positions.

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

Parâmetros

positions
MTLSamplePosition[]

As posições a serem definidas.

Aplica-se a

SetSamplePositions(IntPtr, nuint)

Define as postagens de exemplo programáveis com count dados de 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

Parâmetros

positions
IntPtr

nativeint

As posições a serem definidas. Pode ser null.

Esse parâmetro pode ser null.

count
System.System.UIntPtr System.unativeint

O número de postagens a serem definidas.

Atributos

Aplica-se a