IMTLBufferBinding Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This interface represents the Objective-C protocol MTLBufferBinding.
[Foundation.Protocol(Name="MTLBufferBinding", WrapperType=typeof(Metal.MTLBufferBindingWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="bufferAlignment", IsProperty=true, IsRequired=true, IsStatic=false, Name="BufferAlignment", PropertyType=typeof(System.UIntPtr), Selector="bufferAlignment")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="bufferDataSize", IsProperty=true, IsRequired=true, IsStatic=false, Name="BufferDataSize", PropertyType=typeof(System.UIntPtr), Selector="bufferDataSize")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="bufferDataType", IsProperty=true, IsRequired=true, IsStatic=false, Name="BufferDataType", PropertyType=typeof(Metal.MTLDataType), Selector="bufferDataType")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="bufferStructType", IsProperty=true, IsRequired=true, IsStatic=false, Name="BufferStructType", PropertyType=typeof(Metal.MTLStructType), Selector="bufferStructType")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="bufferPointerType", IsProperty=true, IsRequired=true, IsStatic=false, Name="BufferPointerType", PropertyType=typeof(Metal.MTLPointerType), Selector="bufferPointerType")]
public interface IMTLBufferBinding : IDisposable, Metal.IMTLBinding
[<Foundation.Protocol(Name="MTLBufferBinding", WrapperType=typeof(Metal.MTLBufferBindingWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="bufferAlignment", IsProperty=true, IsRequired=true, IsStatic=false, Name="BufferAlignment", PropertyType=typeof(System.UIntPtr), Selector="bufferAlignment")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="bufferDataSize", IsProperty=true, IsRequired=true, IsStatic=false, Name="BufferDataSize", PropertyType=typeof(System.UIntPtr), Selector="bufferDataSize")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="bufferDataType", IsProperty=true, IsRequired=true, IsStatic=false, Name="BufferDataType", PropertyType=typeof(Metal.MTLDataType), Selector="bufferDataType")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="bufferStructType", IsProperty=true, IsRequired=true, IsStatic=false, Name="BufferStructType", PropertyType=typeof(Metal.MTLStructType), Selector="bufferStructType")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="bufferPointerType", IsProperty=true, IsRequired=true, IsStatic=false, Name="BufferPointerType", PropertyType=typeof(Metal.MTLPointerType), Selector="bufferPointerType")>]
type IMTLBufferBinding = interface
interface INativeObject
interface IDisposable
interface IMTLBinding
- 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 |
|---|---|
| Access | (Inherited from IMTLBinding) |
| Argument | (Inherited from IMTLBinding) |
| BufferAlignment | |
| BufferDataSize | |
| BufferDataType | |
| BufferPointerType | |
| BufferStructType | |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
| Index | (Inherited from IMTLBinding) |
| Name | (Inherited from IMTLBinding) |
| Type | (Inherited from IMTLBinding) |
| Used | (Inherited from IMTLBinding) |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |