MTLRenderCommandEncoder_Extensions.UseResources Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Marks the specified resources 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 UseResources (this Metal.IMTLRenderCommandEncoder This, Metal.IMTLResource[] resources, nuint count, Metal.MTLResourceUsage usage);
static member UseResources : Metal.IMTLRenderCommandEncoder * Metal.IMTLResource[] * nuint * Metal.MTLResourceUsage -> unit
The instance on which this method operates.
- resources
- IMTLResource[]
The resources to use.
- count
- System.System.UIntPtr System.unativeint
The number of resources.
- usage
- MTLResourceUsage
Whether to read, write, or sample the resource.
- Attributes