summaryrefslogtreecommitdiffstats
path: root/AssetLoader/include
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2021-03-31 13:53:23 +0000
committers-ol <s+removethis@s-ol.nu>2021-03-31 15:49:39 +0000
commit85909b2a9fc470d0f425fed5962bb8fc5a5fde57 (patch)
tree1f99551d1cace6afe739d0b2f1644ad95cabcd5c /AssetLoader/include
parentC API for GLTFLoader (diff)
downloadDiligentTools-85909b2a9fc470d0f425fed5962bb8fc5a5fde57.tar.gz
DiligentTools-85909b2a9fc470d0f425fed5962bb8fc5a5fde57.zip
implement loading GLTF files from memory
Diffstat (limited to 'AssetLoader/include')
-rw-r--r--AssetLoader/include/GLTFLoader.hpp11
1 files changed, 11 insertions, 0 deletions
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,