summaryrefslogtreecommitdiffstats
path: root/AssetLoader/interface
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2021-01-11 01:36:50 +0000
committerassiduous <assiduous@diligentgraphics.com>2021-01-11 01:36:50 +0000
commit668caa778bc2b2fbd21bf5a3cf1fa4e5535125fb (patch)
tree920bb8bc9457974ad7052a0dd6a80dcf18e1d3d7 /AssetLoader/interface
parentGLTF loader: reworked loading of checker board stub texture (diff)
downloadDiligentTools-668caa778bc2b2fbd21bf5a3cf1fa4e5535125fb.tar.gz
DiligentTools-668caa778bc2b2fbd21bf5a3cf1fa4e5535125fb.zip
Few minor updates to GLTF loader
Diffstat (limited to 'AssetLoader/interface')
-rw-r--r--AssetLoader/interface/GLTFLoader.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/AssetLoader/interface/GLTFLoader.hpp b/AssetLoader/interface/GLTFLoader.hpp
index 0d5a7fd..50a2f4d 100644
--- a/AssetLoader/interface/GLTFLoader.hpp
+++ b/AssetLoader/interface/GLTFLoader.hpp
@@ -204,7 +204,7 @@ struct Mesh
TransformData Transforms;
- Mesh(IRenderDevice* pDevice, const float4x4& matrix);
+ Mesh(const float4x4& matrix);
};
@@ -449,8 +449,7 @@ private:
IDeviceContext* pContext,
const CreateInfo& CI);
- void LoadNode(IRenderDevice* pDevice,
- Node* parent,
+ void LoadNode(Node* parent,
const tinygltf::Node& gltf_node,
uint32_t nodeIndex,
const tinygltf::Model& gltf_model,