I got a (pre-made) Opengl vertex buffer object (VBO)
but I don't know it's GLuint value to submit it in opencl ..
is there a check in any opengl library (like glew) to give me existing VBOs and its corresponding GLuint that are currently on the gpu (or anything similar..as only thing i know about data inputs is number of elements in the array and array size)
edit: why i don't know GLuint ...
it's a function in cinema4d opengl api (have to use this function to access cinema4d VBO) ..this function(or i should say alot of class functions) are automatically doing something like this
allocSubBuffer ...with *pBuffer (object oriented C++) mapBuffer ..returns void *pData then cast this *pData to a vector *pvData then pass the array values to that *pvData then unmapbuffer... after this there's something called pFactory...it assigns automatically a new VBO ...