MTLTexture_Extensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods to the IMTLTexture interface to support all the methods from the MTLTexture protocol.
public static class MTLTexture_Extensions
type MTLTexture_Extensions = class
- Inheritance
-
MTLTexture_Extensions
Remarks
The extension methods for IMTLTexture interface allow developers to treat instances of the interface as having all the optional methods of the original MTLTexture protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.
Methods
| Name | Description |
|---|---|
| GetCompressionType(IMTLTexture) | |
| GetFirstMipmapInTail(IMTLTexture) | |
| GetGpuResourceId(IMTLTexture) | |
| GetIsSparse(IMTLTexture) | |
| GetTailSizeInBytes(IMTLTexture) | |