Closed rulatir closed 1 year ago
Misunderstood the description in the table, apparently it's just an integer and the texture is always square. But must it be a power of 2, or can it have any size?
That's a good point, it can be anything, but to make it work on most devices, it should be a power of 2 and not bigger than 2048.
Is it an array of numbers representing width and height? An object with
width
andheight
properties? A string like"1024x768"
? What exactly does it mean if only one size is specified (since the default is said to be simply256
)?