Moved texture data to its own struct.