Hello. It's a silly question, I guess, but still: is there any way to access objects of OpenGL world from OpenCL code (light position for example)? All that I can touch are just VBOs and textures. What about other things and properties?
I know about buffers and images, but what about other OpenGL objects? Lights, for instance? I just try to control my OpenGL-world by OpenCL only, achieving maximum independence from CPU performance.