Type Alias

MTLCoordinate2D

A coordinate in the viewport.

Declaration

typedef MTLSamplePosition MTLCoordinate2D;

See Also

Object Sizing and Positioning

MTLOrigin

The coordinates for the front upper-left corner of a region.

MTLRegion

The bounds for a subset of an object's elements.

MTLSize

The dimensions of an object.

MTLCoordinate2DMake

Returns a new 2D point with the specified coordinates.