loadGLShader
fun loadGLShader(tag: String, context: Context, type: Int, filename: String, defineValuesMap: MutableMap<String?, Int?>): Int
Converts a raw text file, saved as a resource, into an OpenGL ES shader.
Return
The shader object handler.
Parameters
type
The type of shader we will be creating.
filename
The filename of the asset file about to be turned into a shader.
defineValuesMap
The #define values to add to the top of the shader source code.
Overload of loadGLShader that assumes no additional #define values to add.