Edit

Share via


MTLDevice_Extensions.GetDefaultSamplePositions Method

Definition

Overloads

GetDefaultSamplePositions(IMTLDevice, MTLSamplePosition[], nuint)

Provides the default sample positions for the specified sample count.

GetDefaultSamplePositions(IMTLDevice, IntPtr, nuint)

Provides the default sample positions for the specified sample count.

GetDefaultSamplePositions(IMTLDevice, MTLSamplePosition[], nuint)

Provides the default sample positions for the specified sample count.

public static void GetDefaultSamplePositions (this Metal.IMTLDevice This, Metal.MTLSamplePosition[] positions, nuint count);
static member GetDefaultSamplePositions : Metal.IMTLDevice * Metal.MTLSamplePosition[] * nuint -> unit

Parameters

This
IMTLDevice

The instance on which this method operates.

positions
MTLSamplePosition[]

Array that will be filled with the default sample postions.

count
System.System.UIntPtr System.unativeint

The number of positions, which determines the set of default positions.

Applies to

GetDefaultSamplePositions(IMTLDevice, IntPtr, nuint)

Provides the default sample positions for the specified sample 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 static void GetDefaultSamplePositions (this Metal.IMTLDevice This, IntPtr positions, nuint count);
static member GetDefaultSamplePositions : Metal.IMTLDevice * nativeint * nuint -> unit

Parameters

This
IMTLDevice

The instance on which this method operates.

positions
IntPtr

nativeint

Array that will be filled with the default sample postions.

count
System.System.UIntPtr System.unativeint

The number of positions, which determines the set of default positions.

Attributes

Applies to