1
General discussions / [Rendering] Create sprite each frame?
« on: December 16, 2023, 10:56:57 pm »
Hello,
im aware that loading a texture is a really resource-expensive operation, but creating a sprite for each Frame seems to not affect my framerate as of right now.
The question is: Is it good practice in SFML to create the sprites each frame, or should you create them once and just draw them each frame?
Thanks in advance
im aware that loading a texture is a really resource-expensive operation, but creating a sprite for each Frame seems to not affect my framerate as of right now.
The question is: Is it good practice in SFML to create the sprites each frame, or should you create them once and just draw them each frame?
Thanks in advance