MTLRenderPassDescriptor.SetSamplePositions Method

Definition

Overloads

SetSamplePositions(MTLSamplePosition[])

Sets the programmable sample postions with data from positions.

SetSamplePositions(IntPtr, nuint)

Sets the programmable sample postions with count data from positions.

SetSamplePositions(MTLSamplePosition[])

Sets the programmable sample postions with data from positions.

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

Parameters

positions
MTLSamplePosition[]

The positions to set.

Applies to

SetSamplePositions(IntPtr, nuint)

Sets the programmable sample postions with count data from 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

Parameters

positions
IntPtr

nativeint

The positions to set. May be null.

This parameter can be null.

count
System.System.UIntPtr System.unativeint

The number of postions to set.

Attributes

Applies to