MDLTexture
A source of texel data to be used in rendering material surface appearances.
Declaration
class MDLTextureOverview
You use the MDLTexture class or one of its subclasses to identify, load, or create texture data, and then associate textures with materials using the MDLTextureSampler and MDLMaterialProperty classes. When you load 3D objects from an asset file (in a format that supports texturing) with the MDLAsset class, Model I/O automatically creates texture objects and material objects and associates them with the MDLSubmesh objects in the asset.
Topics
Loading Textures from a Bundle
Creating Textures
Exporting Textures
Accessing Texture Data
texelDataWithTopLeftOrigin()texelDataWithBottomLeftOrigin()texelDataWithTopLeftOrigin(atMipLevel:create:)texelDataWithBottomLeftOrigin(atMipLevel:create:)