Load both the vertex and fragment shaders from source codes in memory.
This function loads both the vertex and the fragment shaders. If one of
them fails to load, the shader is left empty (the valid shader is
unloaded). The sources must be valid shaders in GLSL language. GLSL is a
C-like language dedicated to OpenGL shaders; you'll probably need to read
a good documentation for it before writing your own shaders.
Load both the vertex and fragment shaders from source codes in memory.
This function loads both the vertex and the fragment shaders. If one of them fails to load, the shader is left empty (the valid shader is unloaded). The sources must be valid shaders in GLSL language. GLSL is a C-like language dedicated to OpenGL shaders; you'll probably need to read a good documentation for it before writing your own shaders.