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
However, the texture parameter TEXTURE_MAX_ANISOTROPY (0x84FE, 34046) is missing in enum TextureParameterName (namespace OpenTK.Graphics.OpenGL4). As well, the parameter MAX_TEXTURE_MAX_ANISOTROPY (0x84FF, 34047) is missing in enum GetPName.
A workaround is to cast an integer value to the enumerator type:
This issue comes from the fact that be bindings generator uses an old gl.xml that doesn't have these enums placed in their correct enum groups. Because of lacking knowledge of the current bindings and because the workaround isn't a lot of work I don't think it's worth fixing for OpenTK 4. With the new bindings generator being written for OpenTK 5 this is already fixed.
A better workaround that doesn't use magic numbers is to use the All enum as such:
Anisotropic filtering (ARB_texture_filter_anisotropic) is part of the OpenGL 4.6 standard. See OpenGL 4.6 API Core Profile Specification - 8.10 Texture Parameters
However, the texture parameter TEXTURE_MAX_ANISOTROPY (0x84FE, 34046) is missing in
enum TextureParameterName
(namespace OpenTK.Graphics.OpenGL4
). As well, the parameter MAX_TEXTURE_MAX_ANISOTROPY (0x84FF, 34047) is missing inenum GetPName
.A workaround is to cast an integer value to the enumerator type:
respectively
The text was updated successfully, but these errors were encountered: