Thanks a bunch thats super handy!

On Tuesday, November 21, 2017 at 4:48:39 AM UTC-5, Benjamin Moran wrote:
>
> Hi Andrew, 
>
> Calling `batch.add` actually returns the vertex list. You just need to 
> catch it:
> vlist = batch.add(......)
>
> -Ben
>
> On Tuesday, November 21, 2017 at 1:59:08 PM UTC+9, Andrew Kaiser wrote:
>>
>> Hi, I cannot find anything in the documentation pertaining to this, I 
>> want to resize my `GL_QUAD_STRIP` in a batch.
>>
>> I am able to do this by creating a `graphics.vertex_list` and calling 
>> `.resize` and `.draw` on it manually, however I want the draw to be called 
>> insidde a batch. The problem is, I dont know how/if I can access the 
>> underlying VertexList class to call methods like resize on a vertex list 
>> created with 
>>
>>
>> batch.add(numPoints, pyglet.gl.GL_QUAD_STRIP, group=group,
>>   ('v2f', verticies),
>>   ('c3B', (255,255,255) * numPoints)
>>
>

-- 
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