Type Alias


A coordinate in the viewport.


typealias MTLCoordinate2D = MTLSamplePosition

See Also

Object Sizing and Positioning

struct MTLOrigin

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

struct MTLRegion

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

struct MTLSize

The dimensions of an object.

func MTLCoordinate2DMake(Float, Float) -> MTLCoordinate2D

Returns a new 2D point with the specified coordinates.