TLVertex in OpenGL


In Microsoft DirectX, we often use TLVertex for 2D background image rendering.

In OpenGL, how do I render 2D background image? What kind of vertex can I use?

If you know solution, I’m glad to listen the solution.

sorry, my broken English.

2 solutions :

1/Use glDrawPixels
2/Use a textured quad (with proper projection matrix, ie orthographic projection)

I try to get 2D image by textured quad and glOrtho function. And I got 2D image.

I’m glad to hear your advice.
Thank you very much.