Function

MTLOriginMake

Returns the location of a pixel in an image or texture.

Declaration

MTLOrigin MTLOriginMake(NSUInteger x, NSUInteger y, NSUInteger z);

Parameters

x

The x coordinate of a pixel in an image or texture.

y

The y coordinate of a pixel in an image or texture.

z

The z coordinate of a pixel in an image or texture.

Return Value

The specified location of a pixel in an image or 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