Contents

pixelFormat

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

Declaration

var pixelFormat: MTLPixelFormat { get set }

Discussion

Corresponds to MTLTextureDescriptor.pixelFormat.