PDA

View Full Version : getting texture format



krol
05-17-2004, 01:00 AM
Hi All

1) How to query or enumerate a list of supported internal texture formats ??

2) Is there anywhere in net reference manual for ogl 1.5 (better than ogl 1.5 spec from opengl.org)??

best regards
Marcin

jwatte
05-17-2004, 07:15 PM
You cannot enumerate all the supported internal formats. The best you can do, which isn't very good, is upload a texture (or, sometimes, a proxy texture), and query for format of that texture to see what you got. The driver may just echo back whatever you provided it, though.