The java android.opengl.GLES20.glCreateShader function is a method in the GLES20 class of the Android OpenGL ES (Open Graphics Library for Embedded Systems) library. This function is used to create a new shader object in OpenGL ES 2.0. Shaders are small programs that run directly on the GPU (Graphics Processing Unit) and are used to manipulate and render 3D graphics. The glCreateShader function is called with a parameter specifying the type of shader to create (either GL_VERTEX_SHADER or GL_FRAGMENT_SHADER). It returns a unique integer ID representing the newly created shader object. This shader object can then be compiled and linked with other shaders to create a complete OpenGL ES program.
Java GLES20.glCreateShader - 30 examples found. These are the top rated real world Java examples of android.opengl.GLES20.glCreateShader extracted from open source projects. You can rate examples to help us improve the quality of examples.