On Mon, Dec 22, 2008 at 10:22 PM, Collin <[email protected]> wrote:
> > I'm not sure why pyglet.resource.image() packs multiple images into a single 'texture atlas', which reduces the number of texture switches (which are expensive state changes), and allows more sprites to be drawn with a single draw call, thus improving performance. pyglet.resource.texture() loads a single image as is, so that you can use it directly. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
