共用方式為


MTLComputeCommandEncoder_Extensions.UseResources 方法

定義

[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 UseResources (this Metal.IMTLComputeCommandEncoder This, Metal.IMTLResource[] resources, nuint count, Metal.MTLResourceUsage usage);
static member UseResources : Metal.IMTLComputeCommandEncoder * Metal.IMTLResource[] * nuint * Metal.MTLResourceUsage -> unit

參數

This
IMTLComputeCommandEncoder

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

resources
IMTLResource[]
count
System.System.UIntPtr System.unativeint
屬性

適用於