void SetSize(int width, int height)
Set the texture’s size without providing any color data. In most cases, you should probably just call SetColors instead, but this can be useful if you’re adding color data some other way, such as when blitting or rendering to it.
|int width||Width in pixels of the texture. Powers of two are generally best!|
|int height||Height in pixels of the texture. Powers of two are generally best!|
Found an issue with these docs, or have some additional questions? Create an Issue on Github!