Android.Opengl.GLES20
is missing constant for GL_CULL_FACE
.
#8612
Labels
Area: Mono.Android
Issues with the Android API binding (Mono.Android.dll).
bug
Component does not function as intended.
Milestone
Android application type
Classic Xamarin.Android (MonoAndroid13.0, etc.)
Affected platform version
Anything using Android.opengl
Description
In order to cull faces in opengl, the developer needs to call glEnable(GL_CULL_FACE);. There is no such enumeration in Android.Opengl. There is a work-around. If the developer manually passes in 0x0B44 into glEnable then the developer can enable face culling. Without knowing this little cheat, it is not possible to enable face culling using Android.opengl as far as I can tell.
I'm sorry if this isn't a great issue report. I'm not a professional software developer, just a hobbyist.
Steps to Reproduce
Just try to look for an enum to pass into glEnable( ) that will activate face culling in an opengl project.
Did you find any workaround?
Yes, manually pass in 0x0B44 into glEnable() in order to activate face culling.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: