You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I just found something that missing on ArbShaderObjects Enumeration that used on GL.Arb.CreateShaderObject()
The missing enums are VertexShaderArb and FragmentShaderArb
but they are available in All Enum (All.VertexShaderArb and All.FragmentShaderArb)
I don't know if an explicit cast can solve the problem or not but currently i used this to resolve this problem (since i am haven't test the code yet, just trying to translating C++ code into C# language):
GL.Arb.CreateShaderObject((ArbShaderObjects)All.VertexShaderArb);
Thank you
Hope you can resolve this! :D
The text was updated successfully, but these errors were encountered:
By default, enumerations for extension functions are generated directly from the OpenGL registry. Only core functions are edited manually. Considering the size and (combinatorial) complexity of the OpenGL specs, this is the only sane approach.
OpenTK bindings are generated from a pair of files:
signatures.xml, which is autogenerated from the OpenGL registry
overrides.xml, which is maintained by hand
I would gladly accept a patch against overrides.xml that adds missing enums for OpenGL extensions. You can find this file in OpenTK.sln -> Generator.Bind -> Specifications -> GL2. You can add the missing enumerations under the <add name="gl"> element:
Hi
I just found something that missing on ArbShaderObjects Enumeration that used on GL.Arb.CreateShaderObject()
The missing enums are VertexShaderArb and FragmentShaderArb
but they are available in All Enum (All.VertexShaderArb and All.FragmentShaderArb)
I don't know if an explicit cast can solve the problem or not but currently i used this to resolve this problem (since i am haven't test the code yet, just trying to translating C++ code into C# language):
GL.Arb.CreateShaderObject((ArbShaderObjects)All.VertexShaderArb);
Thank you
Hope you can resolve this! :D
The text was updated successfully, but these errors were encountered: