Upravit

Sdílet prostřednictvím


MTLRenderCommandEncoder_Extensions.UseHeaps Method

Definition

Marks the specified heaps as usable by a render pass.

[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

Parameters

This
IMTLRenderCommandEncoder

The instance on which this method operates.

heaps
IMTLHeap[]

The heaps from which to read resources that are wrapped in an argument buffer.

count
System.System.UIntPtr System.unativeint

The number of heaps.

Attributes

Applies to