MTLComputeCommandEncoder_Extensions.UseResource Method

Definition

[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 UseResource (this Metal.IMTLComputeCommandEncoder This, Metal.IMTLResource resource, Metal.MTLResourceUsage usage);
static member UseResource : Metal.IMTLComputeCommandEncoder * Metal.IMTLResource * Metal.MTLResourceUsage -> unit

Parameters

This
IMTLComputeCommandEncoder

The instance on which this method operates.

resource
IMTLResource
Attributes

Applies to