MTLRenderPassDescriptor.GetSamplePositions 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetSamplePositions(IntPtr, nuint) |
|
GetSamplePositions(MTLSamplePosition[]) |
|
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
參數
- 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