summaryrefslogtreecommitdiffstats
path: root/AssetLoader/interface
diff options
context:
space:
mode:
Diffstat (limited to 'AssetLoader/interface')
-rw-r--r--AssetLoader/interface/GLTFLoader.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/AssetLoader/interface/GLTFLoader.hpp b/AssetLoader/interface/GLTFLoader.hpp
index 0a9275b..1420d89 100644
--- a/AssetLoader/interface/GLTFLoader.hpp
+++ b/AssetLoader/interface/GLTFLoader.hpp
@@ -292,6 +292,8 @@ struct Model
void UpdateAnimation(Uint32 index, float time);
+ void PrepareGPUResources(IDeviceContext* pCtx);
+
private:
void LoadFromFile(IRenderDevice* pDevice,
IDeviceContext* pContext,
@@ -322,6 +324,8 @@ private:
void GetSceneDimensions();
Node* FindNode(Node* parent, Uint32 index);
Node* NodeFromIndex(uint32_t index);
+
+ bool TexturesTransitioned = false;
};
} // namespace GLTF