MTLRenderCommandEncoder_Extensions.UseHeaps 方法

定义

将指定的堆标记为可由呈现通道使用。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, 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 UseHeaps (this Metal.IMTLRenderCommandEncoder This, Metal.IMTLHeap[] heaps, nuint count);
static member UseHeaps : Metal.IMTLRenderCommandEncoder * Metal.IMTLHeap[] * nuint -> unit

参数

This
IMTLRenderCommandEncoder

此方法在其上运行的实例。

heaps
IMTLHeap[]

要从中读取包装在参数缓冲区中的资源的堆。

count
System.System.UIntPtr System.unativeint

堆数。

属性

适用于