The number of slices in the texture array.
- iOS 8.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
The value of this property ranges from 1 to 2048, inclusive. If the texture type is not an array, this value is 1.
Querying Texture Attributes
The dimension and arrangement of the texture image data.
The format of pixels in the texture.
The width of the texture image for the base level mipmap, in pixels.
The height of the texture image for the base level mipmap, in pixels.
The depth of the texture image for the base level mipmap, in pixels.
The number of samples in each pixel.
A Boolean value that indicates whether the texture can only be used as a render target.
Options that determine how you can use the texture.
A Boolean value indicating whether the GPU is allowed to adjust the contents of the texture to improve GPU performance.
A Boolean indicating whether this texture can be shared with other processes.
The pattern that the GPU applies to pixels when you read or sample pixels from the texture.
The dimension of each image, including whether multiple images are arranged into an array or a cube.
An enumeration for the various options that determine how you can use a texture.