[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Public WebGL] OES_draw_elements_base_vertex extension to WebGL?



Hello all,

here's another extension that has come up in conversations:

https://www.khronos.org/registry/OpenGL/extensions/OES/OES_draw_elements_base_vertex.txt

That extension would help pack a lot of static indexed geometry into a
single vertex+index buffer.

There does exist the draft extension
https://www.khronos.org/registry/webgl/extensions/WEBGL_draw_instanced_base_vertex_base_instance/
, which could be used for this, by placing instanceCount=1,
baseInstance=0, though I wonder if it would be possibly more optimal
or more widely supported to specifically enable the non-instanced
variant as a glDrawElementsBaseVertex() function?

Cheers,
Jukka

-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------