Contents

raw(pixelFormat:)

Indicates a texture for unmodified use by a shader.

Declaration

static func raw(pixelFormat: MTLPixelFormat) -> TextureResource.Format

Discussion

The created texture uses the TextureResource.Semantic.raw semantic.

See Also

Creating the format