IMTLFunction Interface

Definition

System protocol for shader functions that are suitable for use on a GPU in a shader or compute function.

[Foundation.Protocol(Name="MTLFunction", WrapperType=typeof(Metal.MTLFunctionWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface IMTLFunction : IDisposable, ObjCRuntime.INativeObject
type IMTLFunction = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Properties

Device
FunctionType
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Name
VertexAttributes

Extension Methods

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.

GetFunctionConstants(IMTLFunction)
GetLabel(IMTLFunction)
GetPatchControlPointCount(IMTLFunction)
GetPatchType(IMTLFunction)
GetStageInputAttributes(IMTLFunction)
SetLabel(IMTLFunction, String)

Applies to