Checks if the given width and height are a power of two. Useful for checking texture dimensions.
width
height
The width.
The height.
Checks if the given
widthandheightare a power of two. Useful for checking texture dimensions.