The codes under the director are mainly about the OpenGL.