IMDLMeshBufferAllocator 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.
Interface representing the required methods (if any) of the protocol MDLMeshBufferDataAllocator.
[Foundation.Protocol(Name="MDLMeshBufferAllocator", WrapperType=typeof(ModelIO.MDLMeshBufferAllocatorWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface IMDLMeshBufferAllocator : IDisposable, ObjCRuntime.INativeObject
type IMDLMeshBufferAllocator = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Remarks
This interface contains the required methods (if any) from the protocol defined by MDLMeshBufferDataAllocator.
If you create objects that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the MDLMeshBufferDataAllocator protocol.
Optional methods (if any) are provided by the T:ModelIO.MDLMeshBufferAllocator_Extensions class as extension methods to the interface, allowing you to invoke any optional methods on the protocol.
Properties
Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Methods
CreateBuffer(IMDLMeshBufferZone, NSData, MDLMeshBufferType) |
Creates a new buffer from the specified data, of the specified type, in the specified zone. |
CreateBuffer(IMDLMeshBufferZone, nuint, MDLMeshBufferType) | |
CreateBuffer(NSData, MDLMeshBufferType) |
Creates a new buffer from the specified data, of the specified type, in the default zone of the implementor. |
CreateBuffer(nuint, MDLMeshBufferType) | |
CreateZone(NSNumber[], NSNumber[]) |
Creates a new zone that is large enough to contain buffers from the list of sizes and corresponding types. |
CreateZone(nuint) |
Creates a new zone with the specified capacity. |