I'm trying to make this an array but where I've put the brackets it just gives an error out.
Texture2D* sun = new Texture2D();
I'm trying to make this an array but where I've put the brackets it just gives an error out.
Texture2D* sun = new Texture2D();
Maybe you need to do something like this:
Texture2D** sun = new Texture2D*[size];