MTLSizeMake(_:_:_:)
Creates a size instance with values for its width, height, and depth properties.
Declaration
func MTLSizeMake(_ width: Int, _ height: Int, _ depth: Int) -> MTLSizeParameters
- width:
A value for the x-axis dimension.
- height:
A value for the y-axis dimension. Pass
1for sizes with one dimension. - depth:
A value for the z-axis dimension. Pass
1for sizes with one or two dimensions.