Hello.
I have a very interesting question.
Should i load all sdl textures (250+) or they should be loaded only
when they are needed?
Hello.
I have a very interesting question.
Should i load all sdl textures (250+) or they should be loaded only
when they are needed?
only when needed - but with a texture atlas imo. but it depends on your exact use cases
regards
http://www.caveproductions.org> Am 03.08.2015 um 13:09 schrieb ??? ??? :
Hello.
I have a very interesting question.
Should i load all sdl textures (250+) or they should be loaded only
when they are needed?
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Texture alias won’t help if he is using SDL2 renderer.
http://forums.libsdl.org/viewtopic.php?t=11373
Anyway, load them as needed unless you are using pure OpenGL or Direct3D in which case you might want to batch sprites.