3 #include "RasterTerrainTexture.h"
4 #include "UnityTextureFileLoader.h"
15 std::vector<Byte>& buffer,
16 const std::string& textureName,
18 bool generateMipMaps) :
19 RasterTerrainTexture(buffer, textureName, textureLoader, generateMipMaps),
20 m_textureLoader(textureLoader)
22 m_textureLoader.SetTextureForMaterial(textureName, GetTextureInfo().textureId);
27 m_textureLoader.ReleaseTexture(GetTextureInfo().textureId);