Szerkesztés

Megosztás a következőn keresztül:


MTLFunction_Extensions.CreateArgumentEncoder Method

Definition

Overloads

CreateArgumentEncoder(IMTLFunction, nuint)

Creates a new argument encoder for the specified buffer index.

CreateArgumentEncoder(IMTLFunction, nuint, MTLArgument)

Creates a new argument encoder for the specified buffer index and reflection argument.

CreateArgumentEncoder(IMTLFunction, nuint)

Creates a new argument encoder for the specified buffer index.

[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.IMTLFunction This, nuint bufferIndex);
static member CreateArgumentEncoder : Metal.IMTLFunction * nuint -> Metal.IMTLArgumentEncoder

Parameters

This
IMTLFunction

The instance on which this method operates.

bufferIndex
System.System.UIntPtr System.unativeint

Index into a graphics function or compute function of the argument buffer.

Returns

Attributes

Applies to

CreateArgumentEncoder(IMTLFunction, nuint, MTLArgument)

Creates a new argument encoder for the specified buffer index and reflection argument.

[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.IMTLFunction This, nuint bufferIndex, out Metal.MTLArgument reflection);
static member CreateArgumentEncoder : Metal.IMTLFunction * nuint *  -> Metal.IMTLArgumentEncoder

Parameters

This
IMTLFunction

The instance on which this method operates.

bufferIndex
System.System.UIntPtr System.unativeint

Index into a graphics function or compute function of the argument buffer.

reflection
MTLArgument

The resulting reflection data.

Returns

Attributes

Applies to