Düzenle

Aracılığıyla paylaş


IMDLMeshBuffer Interface

Definition

Interface representing the required methods (if any) of the protocol IMDLMeshBuffer.

[Foundation.Protocol(Name="MDLMeshBuffer", WrapperType=typeof(ModelIO.MDLMeshBufferWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface IMDLMeshBuffer : Foundation.INSCopying, IDisposable
type IMDLMeshBuffer = interface
    interface INativeObject
    interface IDisposable
    interface INSCopying
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by IMDLMeshBuffer.

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 IMDLMeshBuffer protocol.

Optional methods (if any) are provided by the MDLMeshBuffer_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)
Map

Gets a mesh buffer map that provides read-only access to the data in the buffer.

Methods

Copy(NSZone)

Performs a copy of the underlying Objective-C object.

(Inherited from INSCopying)
FillData(NSData, nuint)

Writes data into the buffer at the specified offset number of bytes.

Extension Methods

GetAllocator(IMDLMeshBuffer)

Returns the allocator that was used to allocate memory for the mesh buffer..

GetLength(IMDLMeshBuffer)

Returns the length of the buffer, in bytes.

GetType(IMDLMeshBuffer)

Returns a value that indicates whether the buffer contains indices or vertices.

GetZone(IMDLMeshBuffer)

Returns the memory pool that the buffer occupies..

Applies to