swizzle

The pattern you want the GPU to apply to pixels when you read or sample pixels from the texture.

Declaration

var swizzle: MTLTextureSwizzleChannels