foundation for opengl view trees