Contents

swizzle

The channel swizzle pattern the GPU applies when sampling the texture.

Declaration

var swizzle: MTLTextureSwizzleChannels { get set }

Discussion

Corresponds to MTLTextureDescriptor.swizzle.

See Also

Configuring texture usage