次の方法で共有


MTLRenderPassDescriptor.GetSamplePositions メソッド

定義

オーバーロード

GetSamplePositions(IntPtr, nuint)

positionsプログラム可能なサンプル位置でcount埋めます。

GetSamplePositions(MTLSamplePosition[])

positionsプログラム可能なサンプル位置で埋めます。

GetSamplePositions(IntPtr, nuint)

positionsプログラム可能なサンプル位置でcount埋めます。

[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

パラメーター

positions
IntPtr

nativeint

サンプル位置で埋める配列。 null でもかまいません。

このパラメーターは、null に設定できます。

count
System.System.UIntPtr System.unativeint

取得する投稿の数。

戻り値

System.System.UIntPtr System.unativeint
属性

適用対象

GetSamplePositions(MTLSamplePosition[])

positionsプログラム可能なサンプル位置で埋めます。

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

パラメーター

positions
MTLSamplePosition[]

サンプル位置で埋める配列。

戻り値

System.System.UIntPtr System.unativeint

適用対象