Fixed Texture3D to compile on Android/iOS.