@ Override public void close ( ) { gl . glDeleteShader ( vertexShader ) ; gl . glDeleteShader ( fragmentShader ) ; gl . glDeleteProgram ( id ) ; }
Frees this program and associated compiled shaders . The program must not be used after closure .