createShader method

int createShader(
  1. int type
)

Creates a shader object

  • type the shader type

Implementation

int createShader(int type) {
  return gl.glCreateShader(type);
}