Neural Representation and Latent Space Synthesis of Bidirectional Texture Functions