Thanks for the response, so it's a known issue I hope gets fixed. In the 
mean time the list ordering is a good idea.

However my question is, how do you hide labels? My plan was to just remove 
them from the draw/batch (active widget list) then add them when they want 
to be seen again. However, once it gets deleted is there anyway to re-add 
it back to the batch? I don't think the VertexList for Labels are exposed 
to re-add to the batch. Thanks.  

On Tuesday, January 26, 2016 at 10:49:45 AM UTC-6, Serdar Yegulalp wrote:
>
> Groups with labels have performance issues. My trick to ordering labels is 
> to create them in the order I want them to render, back to front, add them 
> to a batch, then draw the batch.
>
> I typically manage this by way of adding the labels to a list, then 
> .delete() -ing them and popping them off the list when I'm done with them.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to