luca-piccioni / OpenGL.Net

Modern OpenGL bindings for C#.
MIT License
577 stars 109 forks source link

Missing framebuffer target #53

Closed JasSra closed 7 years ago

JasSra commented 7 years ago

Hi , I am trying to figure that in Opengl 4 + , there is an target"GL_DEPTH_STENCIL_ATTACHMENT" specified by the Khronos for Framebuffer. However, its not available in the enums specified for that function. Am i missing something.

ref https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glFramebufferRenderbuffer.xhtml

Thanks

luca-piccioni commented 7 years ago

I'll fix it. In the meanwhile, you can cast the raw costant (FramebufferAttachment) Gl.DEPTH_STENCIL_ATTACHMENT. After all, the values are just ints.