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

要從中讀取引數緩衝區中包裝資源的堆積。

屬性

適用於