diff options
Diffstat (limited to 'AssetLoader/interface/GLTFLoader.hpp')
| -rw-r--r-- | AssetLoader/interface/GLTFLoader.hpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/AssetLoader/interface/GLTFLoader.hpp b/AssetLoader/interface/GLTFLoader.hpp index e66e808..b395c8c 100644 --- a/AssetLoader/interface/GLTFLoader.hpp +++ b/AssetLoader/interface/GLTFLoader.hpp @@ -316,18 +316,7 @@ struct Model { std::mutex TexturesMtx; - struct TextureInfo - { - RefCntWeakPtr<ITexture> wpTexture; - - const float4 UVScaleBias; - - TextureInfo(ITexture* pTex, const float4& _UVScaleBias) : - wpTexture{pTex}, - UVScaleBias{_UVScaleBias} - {} - }; - std::unordered_map<std::string, TextureInfo> Textures; + std::unordered_map<std::string, RefCntWeakPtr<ITexture>> Textures; }; Model(IRenderDevice* pDevice, |
