Add classes for opengl texture.