Some more work to create 3D textures using texture object

Change-Id: I49f0e8a6b2742a1b103225da9d76f87bfc3832d9