Edit

Share via


MTLBuffer_Extensions Class

Definition

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

public static class MTLBuffer_Extensions
type MTLBuffer_Extensions = class
Inheritance
MTLBuffer_Extensions

Remarks

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

Methods

AddDebugMarker(IMTLBuffer, String, NSRange)
CreateTexture(IMTLBuffer, MTLTextureDescriptor, nuint, nuint)
RemoveAllDebugMarkers(IMTLBuffer)

Applies to