Compartilhar via


MTLRenderPassDescriptor.GetSamplePositions Método

Definição

Sobrecargas

GetSamplePositions(IntPtr, nuint)

positions Preenche com count posições de exemplo programáveis.

GetSamplePositions(MTLSamplePosition[])

positions Preenche com posições de exemplo programáveis.

GetSamplePositions(IntPtr, nuint)

positions Preenche com count posições de exemplo programáveis.

[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

Parâmetros

positions
IntPtr

nativeint

Uma matriz a ser preenchida com posições de exemplo. Pode ser null.

Esse parâmetro pode ser null.

count
System.System.UIntPtr System.unativeint

O número de postagens a serem obtidos.

Retornos

System.System.UIntPtr System.unativeint
Atributos

Aplica-se a

GetSamplePositions(MTLSamplePosition[])

positions Preenche com posições de exemplo programáveis.

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

Parâmetros

positions
MTLSamplePosition[]

Uma matriz a ser preenchida com posições de exemplo.

Retornos

System.System.UIntPtr System.unativeint

Aplica-se a