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.


Topics - dshenoy

Pages: [1]
1
Graphics / How expensive are sprites?
« on: May 31, 2024, 02:25:43 pm »
Dear Community,

I’m running my code on a mac osx machine.  I’m trying to understand the details behind sprites.  I wanted to know the following:

  • Are sprites stored on the GPU (ie all he details about the graphical icon)?
  • How do you judge whether you have too many sprites?
  • Is there context switching that takes place with spite data stored on the GPU?  Is it switching in and out from the CPU if there isn’t enough capacity?

Please let me know if there are links on the internals for SFML sprites if they exist (advanced info)

Thanking you in advance.

2
Graphics / Particle System with Textures
« on: October 03, 2023, 04:05:26 am »
Dear Community,

I can see from this example https://www.sfml-dev.org/tutorials/2.6/graphics-vertex-array.php that you can create an array of vertices that will take advantage of the GPU or essentially process the items efficiently.  Is there a way to enter in an array of textures?  (i.e. images)

Best regards

Pages: [1]
anything