Szerkesztés

Megosztás a következőn keresztül:


IMDLMeshBufferAllocator Interface

Definition

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.

Applies to