glTexImage3D and Buffer

Hello. Rewrites the code from C + + to Java and I have a little problem with glTexImage3D. The code in c + + looks like this:



glTexImage3D (GL.GL_TEXTURE_3D, 0, GL.GL_RGBA8, tableSize, tableSize, tableSize, 0, GL.GL_RGBA, GL.GL_FLOAT, date).



In C + + data is an array of objects that have 4 variables for RGBA. In jogl date must be subject to Buffer. How to rewrite the arrays of objects that correspond to the jogl Buffer? How is interpreted in c + + and jogl variable date, which in C + + defines a pointer to the image data in memory. Array of objects in C + + code is of course filled with these objects with the values of colors. Please help. Regards.