IMTL4CommandAllocator Interface
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Deze interface vertegenwoordigt het Objective-C-protocol MTL4CommandAllocator.
[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
- Kenmerken
- Implementeringen
Opmerkingen
Een klasse die deze interface (en subklassen NSObject) implementeert, wordt geƫxporteerd naar Objective-C als het implementeren van het Objective-C protocol dat deze interface vertegenwoordigt.
Een klasse kan ook leden van deze interface implementeren om leden uit het protocol te implementeren.
Eigenschappen
| Name | Description |
|---|---|
| AllocatedSize |
Deze interface vertegenwoordigt het Objective-C-protocol |
| Device |
Deze interface vertegenwoordigt het Objective-C-protocol |
| Handle |
Handle (pointer) naar de onbeheerde objectweergave. (Overgenomen van INativeObject) |
| Label |
Deze interface vertegenwoordigt het Objective-C-protocol |
Methoden
| Name | Description |
|---|---|
| Reset() |
Deze interface vertegenwoordigt het Objective-C-protocol |
Extensiemethoden
| Name | Description |
|---|---|
| GetHandle(INativeObject) |
Deze interface vertegenwoordigt het Objective-C-protocol |
| GetNonNullHandle(INativeObject, String) |
Deze interface vertegenwoordigt het Objective-C-protocol |