3 #include "IAsyncTextureObserver.h"
4 #include "UnityMaterialToTextureMap.h"
5 #include "UnityCallbacks.h"
8 #include <unordered_map>
25 const std::string& assetPath,
26 const std::string& disambiguatedMaterialName,
31 const std::string& disambiguatedMaterialName,
34 void AddTextureRequestForMaterial(
36 const void* requestHandle,
37 const std::string& materialName);
45 typedef std::pair<std::string, const void*> TMaterialNameTextureRequestPair;
46 typedef std::vector<TMaterialNameTextureRequestPair> TMaterialNameTextureRequestPairVector;
47 std::unordered_map<std::string, TMaterialNameTextureRequestPairVector> m_inFlightAssetPathsToMaterials;