OpenGL custom classes created