Contents

MTLRegionMake3D(_:_:_:_:_:_:)

Creates a 3D region.

Declaration

func MTLRegionMake3D(_ x: Int, _ y: Int, _ z: Int, _ width: Int, _ height: Int, _ depth: Int) -> MTLRegion

Parameters

  • x:

    The x coordinate of the origin.

  • y:

    The y coordinate of the origin.

  • z:

    The z coordinate of the origin.

  • width:

    The width of the volume.

  • height:

    The height of the volume.

  • depth:

    The depth of the volume.

Return Value

A 3D region with the specified values.

See Also

Creating regions