Contents

MTLTextureSwizzleChannels

A pattern that modifies the data read or sampled from a texture by rearranging or duplicating the elements of a vector.

Declaration

struct MTLTextureSwizzleChannels

Overview

Use this structure to specify a custom swizzle pattern when creating a new texture or texture view.

Topics

Creating a swizzle pattern

Specifying swizzle values

See Also

Specifying texture attributes