編輯

共用方式為


MDLMeshBufferZone_Extensions Class

Definition

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

public static class MDLMeshBufferZone_Extensions
type MDLMeshBufferZone_Extensions = class
Inheritance
MDLMeshBufferZone_Extensions

Remarks

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

Methods

GetAllocator(IMDLMeshBufferZone)

Gets the allocator that created the zone.

GetCapacity(IMDLMeshBufferZone)

Gets the capacity of the zone, in bytes.

Applies to