IMTL4CommandAllocator Interface

Définition

Cette interface représente le protocole MTL4CommandAllocatorObjective-C .

[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
Attributs
Implémente

Remarques

Une classe qui implémente cette interface (et les sous-classes NSObject) sera exportée vers Objective-C, car l’implémentation du protocole Objective-C cette interface représente.

Une classe peut également implémenter des membres de cette interface pour implémenter des membres à partir du protocole.

Propriétés

Nom Description
AllocatedSize

Cette interface représente le protocole MTL4CommandAllocatorObjective-C .

Device

Cette interface représente le protocole MTL4CommandAllocatorObjective-C .

Handle

Handle (pointeur) vers la représentation d’objet non managée.

(Hérité de INativeObject)
Label

Cette interface représente le protocole MTL4CommandAllocatorObjective-C .

Méthodes

Nom Description
Reset()

Cette interface représente le protocole MTL4CommandAllocatorObjective-C .

Méthodes d’extension

Nom Description
GetHandle(INativeObject)

Cette interface représente le protocole MTL4CommandAllocatorObjective-C .

GetNonNullHandle(INativeObject, String)

Cette interface représente le protocole MTL4CommandAllocatorObjective-C .

S’applique à