init(mipmapLevels:)
Creates a texture contents object from an array of mipmaps.
Declaration
init(mipmapLevels: [TextureResource.Contents.MipmapLevel])Parameters
- mipmapLevels:
Pixel data for each mipmap level, starting with mipmap level
0. Supply at least one mipmap level.