
Related Extensions unknown, Core? (Version12) [done!]
Posted Tuesday, 1 January, 2008 - 17:06 by Inertia inSource: http://www.opengl.org/registry/api/enum.spec
// add to Enum: GetPName AliasedPointSizeRange = ( (int) 0x846d ), SmoothPointSizeRange = ( (int) 0x0b12 ), SmoothPointSizeGranularity = ( (int) 0x0b13 ), AliasedLineWidthRange = ( (int) 0x846e ), SmoothLineWidthRange = ( (int) 0x0b22 ), SmoothLineWidthGranularity = ( (int) 0x0b23 ), These belong into Enum: GetTextureParameter They already exist there with *Sgi Suffix TextureMaxLevel = ( (int) 0x813d ), TextureBaseLevel = ( (int) 0x813c ), TextureMinLod = ( (int) 0x813a ), TextureMaxLod = ( (int) 0x813b ),


Comments
This is what is left now of
This is what is left now of Version12, the tokens at the bottom can imho be removed (they're just here so you can verify it if needed).
What I honestly cannot put into any categories and where searching did not yield any useful information are the first 2 Blocks of the enum.
MaxElements* is never mentioned anywhere?
Unsigned* are never mentioned anywhere?
Maybe you know something about them? I believe they have been replaced in an update, the Unsigned* look like they belong into PixelInternalFormat or PixelFormat?
I'm sure I've seen the
I'm sure I've seen the Unsigned* stuff before, but I can't remember where. I don't know about the Max* members, I'll post if I find something.
Thanks :) If we solve the
Thanks :)
If we solve the MaxElements* and Unsigned* relationships, all the enums Version12/3/4/5 are gone :-)
Perfect, this goes a long
Perfect, this goes a long way in beautifying the API!
I've found the Unsigned*
I've found the Unsigned* tokens in glspec21.20061201.pdf
They belong to GL.DrawPixel's enum "PixelType"
c&p of the table (formating obviously very screwed up)
"Table 3.5: DrawPixels and ReadPixels type parameter values and the corresponding GL data types."
Will you check this out, or should I post corrections to the enum? (there's a few of them missing, i.e. the Rev(ersed) ones are not in there)
I've added the unsigned
I've added the unsigned types to PixelType, I'll cross-check the rest, thanks.