Is it OK to use more than 1 gles version in Java or glsl?

is it OK to use more than 1 gles version in Java or glsl?
such as: android.opengl.GLES32
such as: android.opengl.GLES30
such as: android.opengl.GLES20

#version 300 es

Thanks!

Yes. Although it’s unnecessary, as each class derives from the class for the previous version and inherits its methods. So GLES32 inherits all of the methods of GLES30 and GLES20.

1 Like