shader types code example
Example: types of Shadersopen gl
Vertex Shaders: GL_VERTEX_SHADER
Tessellation Control and Evaluation Shaders: GL_TESS_CONTROL_SHADER and GL_TESS_EVALUATION_SHADER. (requires GL 4.0 or ARB_tessellation_shader)
Geometry Shaders: GL_GEOMETRY_SHADER
Fragment Shaders: GL_FRAGMENT_SHADER
Compute Shaders: GL_COMPUTE_SHADER. (requires GL 4.3 or ARB_compute_shader)