MTLRenderCommandEncoder_Extensions.UseHeap 方法

定义

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

[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 UseHeap (this Metal.IMTLRenderCommandEncoder This, Metal.IMTLHeap heap);
static member UseHeap : Metal.IMTLRenderCommandEncoder * Metal.IMTLHeap -> unit

参数

This
IMTLRenderCommandEncoder

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

heap
IMTLHeap

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

属性

适用于