dwmkerr / sharpgl

Use OpenGL in .NET applications. SharpGL wraps all modern OpenGL features and offers a powerful scene graph to aid development.
MIT License
749 stars 300 forks source link

Frame Buffers, SharpGL, and OpenGL 4 #192

Open garno-fc opened 3 years ago

garno-fc commented 3 years ago

So this is perhaps not an issue at all, and more the lack of my understanding-

I'm working on porting an application from OpenTK to SharpGL, as OpenTK 4 has abandoned windows forms support in .net core 3. SharpGL looks like the best candidate out there right now for this!

My question/issue is- Unless I'm missing something, I'm not able to find some GL functions that I require, Specifically when creating a stencil buffer and blitting the frame buffer. Most of the method's I've ported over have been suffixed with EXT in sharpgl (which is ok with me as long as I can access everything I need), though I'm pretty sure they are available in OpenGL 4 as core methods, not extensions. So I'm wondering, where/how do I access the non extension methods in sharpgl, and where might the other OpenGL 4 functions be? (SharpGL does support OGL v4, correct?)

I would appreciate any insight you could give! Thank you! Greg