cudaGraphicsGLRegisterBuffer and glBufferData

Hi forum,

Is that mandatory that the data store of the GL buffer object must have have been previously created by calling OpenGL function glBufferData, although its contents need not be initialized ?

And then send the gl buffer id to the function cudaGraphicsGLRegisterBuffer(…)

Thanks
Sajjad