MDLMeshBuffer_Extensions MDLMeshBuffer_Extensions Class


Extension methods to the IMDLMeshBuffer interface to support all the methods from the IMDLMeshBuffer protocol.

public static class MDLMeshBuffer_Extensions
type MDLMeshBuffer_Extensions = class


The extension methods for IMDLMeshBuffer allow developers to treat instances of the interface as having all the optional methods of the original IMDLMeshBuffer protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.


GetAllocator(IMDLMeshBuffer) GetAllocator(IMDLMeshBuffer)

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

GetLength(IMDLMeshBuffer) GetLength(IMDLMeshBuffer)

Returns the length of the buffer, in bytes.

GetType(IMDLMeshBuffer) GetType(IMDLMeshBuffer)

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

GetZone(IMDLMeshBuffer) GetZone(IMDLMeshBuffer)

Returns the memory pool that the buffer occupies..

Applies to