Structure

MPSOffset

A signed coordinate with x, y, and z components.

Declaration

struct MPSOffset

Topics

Instance Properties

var x: Int

The horizontal component of the offset, in pixels.

var y: Int

The vertical component of the offset, in pixels.

var z: Int

The depth component of the offset, in pixels.

See Also

Properties

var offset: MPSOffset

The position of the destination clip rectangle origin relative to the source buffer.

var clipRect: MTLRegion

An optional clip rectangle to use when writing data. Only the pixels in the rectangle will be overwritten.

struct MPSRegion

A region of an image.

var edgeMode: MPSImageEdgeMode

The edge mode to use when texture reads stray off the edge of an image.

enum MPSImageEdgeMode

The options used to control the edge behavior of an image filter when it reads outside the bounds of a source texture.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software