Is there any way to extract raw pixel data from a gdk_pixbuf?

The framework im using does a number of operations on the gdk_pixbuf and at the end im using it as an OpenGL texture, i want to avoid having to write it to a file through gdk and then read it back in again through my own loader.