Edit

Share via


MDLMeshBuffer_Extensions Class

Definition

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

public static class MDLMeshBuffer_Extensions
type MDLMeshBuffer_Extensions = class
Inheritance
MDLMeshBuffer_Extensions

Remarks

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.

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