Contents

dimensions(width:height:)

Specifies the dimensions of the 2D texture.

Declaration

static func dimensions(width: Int, height: Int) -> TextureResource.Dimensions2D

Discussion

The content specifies the number of mipmap levels.