MTLDevice_Extensions.CreateArgumentEncoder Method

Definition

Creates an encoder for the specified array of arguments.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, 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 Metal.IMTLArgumentEncoder CreateArgumentEncoder (this Metal.IMTLDevice This, Metal.MTLArgumentDescriptor[] arguments);
static member CreateArgumentEncoder : Metal.IMTLDevice * Metal.MTLArgumentDescriptor[] -> Metal.IMTLArgumentEncoder

Parameters

This
IMTLDevice

The instance on which this method operates.

arguments
MTLArgumentDescriptor[]

An array of arguments within a buffer.

Returns

Attributes

Applies to