MTLRegionMake1D(_:_:)
Creates a 3D representation of a 1D region.
Declaration
func MTLRegionMake1D(_ x: Int, _ width: Int) -> MTLRegionParameters
- x:
The x coordinate of the origin.
- width:
The width of the volume.
Return Value
A region whose x and width values are as specified. The y and z coordinates of the region’s origin are set to 0, and the region’s height and depth are set to 1.