Contents

colorPixelFormat

The pixel format of the color attachment, or nil for depth-only passes.

Declaration

var colorPixelFormat: MTLPixelFormat? { get set }

Discussion

Corresponds to MTLRenderPassColorAttachmentDescriptor.texture.pixelFormat.

See Also

Specifying pixel formats