Structure

MPSOffset

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

Declaration

typedef struct {
    ...
} MPSOffset;

Topics

Fields

x

The horizontal component of the offset, in pixels.

y

The vertical component of the offset, in pixels.

z

The depth component of the offset, in pixels.

See Also

Properties

offset

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

clipRect

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

MPSRegion

A region of an image.

edgeMode

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

MPSImageEdgeMode

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