Enumeration Case

MTLTextureType.type2D

A two-dimensional texture image.

Declaration

case type2D = 2

See Also

Specifying the Texture Type

case type1D

A one-dimensional texture image.

case type1DArray

An array of one-dimensional texture images.

case type2DArray

An array of two-dimensional texture images.

case type2DMultisample

A two-dimensional texture image that uses more than one sample for each pixel.

case typeCube

A cube texture with six two-dimensional images.

case typeCubeArray

An array of cube textures, each with six two-dimensional images.

case type3D

A three-dimensional texture image.

case type2DMultisampleArray

An array of two-dimensional texture images that use more than one sample for each pixel.

case typeTextureBuffer

A texture buffer.

Beta Software

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