Share via


IMTLFunctionHandle Interface

Definition

This interface represents the Objective-C protocol MTLFunctionHandle.

[Foundation.Protocol(Name="MTLFunctionHandle", WrapperType=typeof(Metal.MTLFunctionHandleWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="functionType", IsProperty=true, IsRequired=true, IsStatic=false, Name="FunctionType", PropertyType=typeof(Metal.MTLFunctionType), Selector="functionType")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="name", IsProperty=true, IsRequired=true, IsStatic=false, Name="Name", PropertyType=typeof(System.String), Selector="name")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="device", IsProperty=true, IsRequired=true, IsStatic=false, Name="Device", PropertyType=typeof(Metal.IMTLDevice), Selector="device")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="gpuResourceID", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuResourceId", PropertyType=typeof(Metal.MTLResourceId), Selector="gpuResourceID")]
public interface IMTLFunctionHandle : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="MTLFunctionHandle", WrapperType=typeof(Metal.MTLFunctionHandleWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="functionType", IsProperty=true, IsRequired=true, IsStatic=false, Name="FunctionType", PropertyType=typeof(Metal.MTLFunctionType), Selector="functionType")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="name", IsProperty=true, IsRequired=true, IsStatic=false, Name="Name", PropertyType=typeof(System.String), Selector="name")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="device", IsProperty=true, IsRequired=true, IsStatic=false, Name="Device", PropertyType=typeof(Metal.IMTLDevice), Selector="device")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="gpuResourceID", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuResourceId", PropertyType=typeof(Metal.MTLResourceId), Selector="gpuResourceID")>]
type IMTLFunctionHandle = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Device
FunctionType
GpuResourceId
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Name

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to