Contents

init(origin:size:)

Initializes a new region with the specified origin and size.

Declaration

init(origin: MTLOrigin, size: MTLSize)

Parameters

  • origin:

    The origin of the region.

  • size:

    The size of the region.

See Also

Creating regions