MTLTextureSwizzleChannels
A pattern that modifies the data read or sampled from a texture by rearranging or duplicating the elements of a vector.
Declaration
struct MTLTextureSwizzleChannelsOverview
Use this structure to specify a custom swizzle pattern when creating a new texture or texture view.