Contents

width

The width of the texture image for the base level mipmap, in pixels.

Declaration

var width: Int { get set }

Discussion

The default value is 1. The value needs to be greater than or equal to 1.

See Also

Specifying texture attributes