Let's straight to the point, Currently i am trying to translating C++ code into C# and its about Shader thingies.
this C++ code is using ARB Shader, and I found something missing enum on OpenTK.
It was about to create a Handle for Vertex Shader, here the C++ code:
GLhandleARB vertexShader = glCreateShaderObjectARB(GL_VERTEX_SHADER_ARB);
and I got confused cuz there not "VertexShaderARB" on ArbShaderObjects Enum
after exploring few enums, I found VertexShaderArb on All enum, but I cant use it like this:
GL.Arb.CreateShaderObject(All.VertexShaderArb); // Error!
So my question is about the All enum, is there a way to use it in CreateShaderObject() function?
if it can't is there any other solution?
Thank you so much ;)