Поделиться через


MTLRenderPassDescriptor.SetSamplePositions Метод

Определение

Перегрузки

SetSamplePositions(MTLSamplePosition[])

Задает программируемые примеры postions с данными из positions.

SetSamplePositions(IntPtr, nuint)

Задает программируемые примеры postions с count данными из positions.

SetSamplePositions(MTLSamplePosition[])

Задает программируемые примеры postions с данными из positions.

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

Параметры

positions
MTLSamplePosition[]

Устанавливаемые позиции.

Применяется к

SetSamplePositions(IntPtr, nuint)

Задает программируемые примеры postions с count данными из 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

Параметры

positions
IntPtr

nativeint

Устанавливаемые позиции. Может иметь значение null.

Этот параметр может иметь значение null.

count
System.System.UIntPtr System.unativeint

Количество устанавливаемых осанок.

Атрибуты

Применяется к