The width and height, in texels, of the texture image.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
If the texture contains multiple mipmap levels (the
mipLevelCount value is greater than zero), this property reflects the base (largest) mipmap level.
If the texture is a cube texture (the
isCube value is
YES), this property reflects the vertical arrangement of cube faces in the texture image data. That is, the texture’s height is six times its width, and the data represents six square images for the six sides of the cube.
Examining Texture Attributes
The number of bytes between the first texel in a row of image data and the first texel in the next row.
A Boolean value that indicates whether the texture is a cube textures.
The number of mipmap levels contained in the texture image data.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software