共用方式為


MTLComputeCommandEncoder_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.IMTLComputeCommandEncoder This, Metal.IMTLHeap heap);
static member UseHeap : Metal.IMTLComputeCommandEncoder * Metal.IMTLHeap -> unit

參數

This
IMTLComputeCommandEncoder

這個方法運作所在的 實例。

heap
IMTLHeap
屬性

適用於