# Draw geometry on screen using BGL module

I am trying to use the bgl module to draw triangles on top of the Blender interface. My understanding is that glBegin/glEnd are deprecated, and vertex array or display list or VBO should be used instead.

But I can't seems to find the relevant functions I need (glDrawArray, glBindBuffer, etc) in the bgl module. Any insights?

my bgl.glGetString(bgl.GL_VERSION) is 2.1 ATI-1.8.18

• come to think of it, I have never seen anyone with anything other than glBegin etc.. I don't think this has extended to the bgl yet, iirc only a part of ghost has it atm.. not sure.. – iKlsR Jun 11 '13 at 20:59
• I was afraid of that, but thanks for the comment. Btw, do people think questions like this are too specific for this SE? – Mike Pan Jun 11 '13 at 21:02
• Not at all, this is the only legible on-topic question I've seen all day. Also questions like these are bound to show up sooner or later anyways. – iKlsR Jun 11 '13 at 21:09