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
属性

适用于