IMTL4CommandAllocator Schnittstelle

Definition

Diese Schnittstelle stellt das Objective-C-Protokoll MTL4CommandAllocatordar.

[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommandAllocator", WrapperType=typeof(Metal.MTL4CommandAllocatorWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Reset", Selector="reset")]
[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="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(System.String), Selector="label")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="allocatedSize", IsProperty=true, IsRequired=true, IsStatic=false, Name="AllocatedSize", PropertyType=typeof(System.UInt64), Selector="allocatedSize")]
public interface IMTL4CommandAllocator : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommandAllocator", WrapperType=typeof(Metal.MTL4CommandAllocatorWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Reset", Selector="reset")]
[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="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(System.String), Selector="label")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="allocatedSize", IsProperty=true, IsRequired=true, IsStatic=false, Name="AllocatedSize", PropertyType=typeof(System.UInt64), Selector="allocatedSize")]
[ObjCRuntime.UnsupportedSimulator("ios")]
public interface IMTL4CommandAllocator : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommandAllocator", WrapperType=typeof(Metal.MTL4CommandAllocatorWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Reset", Selector="reset")]
[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="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(System.String), Selector="label")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="allocatedSize", IsProperty=true, IsRequired=true, IsStatic=false, Name="AllocatedSize", PropertyType=typeof(System.UInt64), Selector="allocatedSize")]
[ObjCRuntime.UnsupportedSimulator("tvos")]
public interface IMTL4CommandAllocator : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommandAllocator", WrapperType=typeof(Metal.MTL4CommandAllocatorWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Reset", Selector="reset")>]
[<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="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(System.String), Selector="label")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="allocatedSize", IsProperty=true, IsRequired=true, IsStatic=false, Name="AllocatedSize", PropertyType=typeof(System.UInt64), Selector="allocatedSize")>]
type IMTL4CommandAllocator = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommandAllocator", WrapperType=typeof(Metal.MTL4CommandAllocatorWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Reset", Selector="reset")>]
[<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="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(System.String), Selector="label")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="allocatedSize", IsProperty=true, IsRequired=true, IsStatic=false, Name="AllocatedSize", PropertyType=typeof(System.UInt64), Selector="allocatedSize")>]
[<ObjCRuntime.UnsupportedSimulator("ios")>]
type IMTL4CommandAllocator = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommandAllocator", WrapperType=typeof(Metal.MTL4CommandAllocatorWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Reset", Selector="reset")>]
[<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="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(System.String), Selector="label")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="allocatedSize", IsProperty=true, IsRequired=true, IsStatic=false, Name="AllocatedSize", PropertyType=typeof(System.UInt64), Selector="allocatedSize")>]
[<ObjCRuntime.UnsupportedSimulator("tvos")>]
type IMTL4CommandAllocator = interface
    interface INativeObject
    interface IDisposable
Attribute
Implementiert

Hinweise

Eine Klasse, die diese Schnittstelle (und Unterklassen NSObject) implementiert, wird in Objective-C exportiert, da das Objective-C Protokoll implementiert wird, das diese Schnittstelle darstellt.

Eine Klasse kann auch Member aus dieser Schnittstelle implementieren, um Member aus dem Protokoll zu implementieren.

Eigenschaften

Name Beschreibung
AllocatedSize

Diese Schnittstelle stellt das Objective-C-Protokoll MTL4CommandAllocatordar.

Device

Diese Schnittstelle stellt das Objective-C-Protokoll MTL4CommandAllocatordar.

Handle

Handle (Zeiger) auf die nicht verwaltete Objektdarstellung.

(Geerbt von INativeObject)
Label

Diese Schnittstelle stellt das Objective-C-Protokoll MTL4CommandAllocatordar.

Methoden

Name Beschreibung
Reset()

Diese Schnittstelle stellt das Objective-C-Protokoll MTL4CommandAllocatordar.

Erweiterungsmethoden

Name Beschreibung
GetHandle(INativeObject)

Diese Schnittstelle stellt das Objective-C-Protokoll MTL4CommandAllocatordar.

GetNonNullHandle(INativeObject, String)

Diese Schnittstelle stellt das Objective-C-Protokoll MTL4CommandAllocatordar.

Gilt für: