summaryrefslogtreecommitdiffstats
path: root/AssetLoader/interface
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-03-23 23:58:05 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-03-23 23:58:05 +0000
commitf94450424ab47807fa145c15876305d1fb83328d (patch)
tree58f742fb71a752c22552cf3ae21f8e677ba41517 /AssetLoader/interface
parentGLTF Loader: added optional texture cache (diff)
downloadDiligentTools-f94450424ab47807fa145c15876305d1fb83328d.tar.gz
DiligentTools-f94450424ab47807fa145c15876305d1fb83328d.zip
GLTF loader: using full texture path as key in texture cache
Diffstat (limited to 'AssetLoader/interface')
-rw-r--r--AssetLoader/interface/GLTFLoader.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/AssetLoader/interface/GLTFLoader.hpp b/AssetLoader/interface/GLTFLoader.hpp
index 65a4768..a444ea5 100644
--- a/AssetLoader/interface/GLTFLoader.hpp
+++ b/AssetLoader/interface/GLTFLoader.hpp
@@ -297,6 +297,7 @@ private:
void LoadTextures(IRenderDevice* pDevice,
IDeviceContext* pCtx,
const tinygltf::Model& gltf_model,
+ const std::string& BaseDir,
TextureCacheType* pTextureCache);
void LoadTextureSamplers(IRenderDevice* pDevice, const tinygltf::Model& gltf_model);