From 85909b2a9fc470d0f425fed5962bb8fc5a5fde57 Mon Sep 17 00:00:00 2001 From: s-ol Date: Wed, 31 Mar 2021 15:53:23 +0200 Subject: implement loading GLTF files from memory --- AssetLoader/include/GLTFLoader.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'AssetLoader/include') diff --git a/AssetLoader/include/GLTFLoader.hpp b/AssetLoader/include/GLTFLoader.hpp index 83b9a4d..2b9afaf 100644 --- a/AssetLoader/include/GLTFLoader.hpp +++ b/AssetLoader/include/GLTFLoader.hpp @@ -391,6 +391,17 @@ private: IDeviceContext* pContext, const IGLTFModelCreateInfo& CI); + void LoadFromMemory(IRenderDevice* pDevice, + IDeviceContext* pContext, + const IGLTFModelCreateInfo& CI); + + void LoadScene(IRenderDevice* pDevice, + const tinygltf::Model& gltf_model, + const std::string& BaseDir, + GLTF_TextureCacheType* pTextureCache, + ResourceManager* pResourceMgr, + const IGLTFModelCreateInfo& CI); + void LoadNode(Node* parent, const tinygltf::Node& gltf_node, uint32_t nodeIndex, -- cgit v1.2.3