Updates a volume texture from a user function, which allows for arbitraryUVolumeTextureobjects to be filled. The pointer passed to the user function is owned byUVolumeTextureand should be cast to the required type before being filled up with the new voxel data.