Compiles shader source of the given type and attaches it to the shader program. If shader compilation fails, writes compilation info to the error log of the shader program (_errorLog)
GL_VERTEX_SHADER or GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER
the string that contains the source of given shader
See Implementation
Compiles shader source of the given type and attaches it to the shader program. If shader compilation fails, writes compilation info to the error log of the shader program (_errorLog)