Some OpenGL constants get removed because they conflict with method names after they go through our capitalization correction. For example, GLES20.GL_CULL_FACE becomes GLES20.GlCullFace which then conflicts with the method named GLES20.GlCullFace (int):
warning BG8401: Skipping 'Android.Opengl.GLES20.GlCullFace' due to a duplicate method name. (Java type: 'android.opengl.GLES20')
Fixes: https://github.com/xamarin/xamarin-android/issues/8612
Some OpenGL constants get removed because they conflict with method names after they go through our capitalization correction. For example,
GLES20.GL_CULL_FACE
becomesGLES20.GlCullFace
which then conflicts with the method namedGLES20.GlCullFace (int)
:References:
Fix these cases by using metadata to assign explicit
managedName
values that are the expected constant name +Const
to avoid the name collision.