2D engine done. Advice on optimisation, please?

Member
Posts: 110
Joined: 2009.07
Post: #7
warmi Wrote:I am using unsigned int for my color values within the array.
There is no really way around it if you want to have multiple colors/effects for each quad while keeping them all rendered with a single batch.

Having just checked, the size of a float is 4, as is an unsigned int. Is there really any benefit?
Quote this message in a reply
Post Reply 


Messages In This Thread
2D engine done. Advice on optimisation, please? - Madrayken - Jul 24, 2009 02:22 PM
Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  new engine in works. advice? godexsoft 4 3,788 Apr 7, 2012 07:25 AM
Last Post: godexsoft
  Advice on 3D Room engine? devGamer 4 3,410 Mar 21, 2010 10:05 AM
Last Post: Skorche