bobbypowers's picture

missing enums

Gl.Enums.EnableCap is missing:
- MULTISAMPLE_ARB, although MULTISAMPLE_SGIS is there

Gl.Enums.GetPName is missing:
- SAMPLES
- SAMPLE_BUFFERS, although for both the *_SGIS is there

I've gotten around it by typecasting from Enums.All, just thought you might like to know :)
I might post more if I find additional things while porting my app from Tao to OpenTK today

yours,
Bobby


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler.'s picture

It seems likely that there won't be any more updates to the GL2 specs (last revision dates from February 2007). In this case, I might as well take the plunge and edit the specifications to fix problems such as these.

Please, post any other missing enums you find, especially in texture- and blend-related functions.

ccoish's picture

I think GL.Enums.TextureTarget is missing:
- TEXTURE_RECTANGLE_ARB
- TEXTURE_RECTANGLE_NV

Also in GL.Enums.TextureWrapMode:
- CLAMP_TO_BORDER
- CLAMP_TO_BORDER_ARB
- CLAMP_TO_EDGE

but CLAMP_TO_BORDER_SGIS and CLAMP_TO_EDGE_SGIS are in there.

I've also just been casting from Enums.All.

the Fiddler.'s picture

Thanks, I'll check the registry and add these.