Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - toocrazy

Pages: [1]
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 :)

Pages: [1]