Contents

pixelFormat

The size and bit layout of all pixels in the texture.

Declaration

var pixelFormat: MTLPixelFormat { get set }

Discussion

The default value is MTLPixelFormatRGBA8Unorm.

See Also

Specifying texture attributes