IMTL4CommandAllocator Schnittstelle
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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 |
| Device |
Diese Schnittstelle stellt das Objective-C-Protokoll |
| Handle |
Handle (Zeiger) auf die nicht verwaltete Objektdarstellung. (Geerbt von INativeObject) |
| Label |
Diese Schnittstelle stellt das Objective-C-Protokoll |
Methoden
| Name | Beschreibung |
|---|---|
| Reset() |
Diese Schnittstelle stellt das Objective-C-Protokoll |
Erweiterungsmethoden
| Name | Beschreibung |
|---|---|
| GetHandle(INativeObject) |
Diese Schnittstelle stellt das Objective-C-Protokoll |
| GetNonNullHandle(INativeObject, String) |
Diese Schnittstelle stellt das Objective-C-Protokoll |