summaryrefslogtreecommitdiffstats
path: root/AssetLoader/interface
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-04-24 04:06:35 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-04-24 04:06:35 +0000
commit3a80efdab33829fa12eb4f7360dad89eed9f62c1 (patch)
treeb753d287c207e86915f01b404804c5d0eaedd010 /AssetLoader/interface
parentMoved GLTFLoader structures to the header (diff)
downloadDiligentTools-3a80efdab33829fa12eb4f7360dad89eed9f62c1.tar.gz
DiligentTools-3a80efdab33829fa12eb4f7360dad89eed9f62c1.zip
Implemented texture data loading in gltf loader
Diffstat (limited to 'AssetLoader/interface')
-rw-r--r--AssetLoader/interface/GLTFLoader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/AssetLoader/interface/GLTFLoader.h b/AssetLoader/interface/GLTFLoader.h
index 51f3822..02bea46 100644
--- a/AssetLoader/interface/GLTFLoader.h
+++ b/AssetLoader/interface/GLTFLoader.h
@@ -255,7 +255,7 @@ struct Model
float3 max = float3(-FLT_MAX, -FLT_MAX, -FLT_MAX);
} dimensions;
- void loadFromFile(IRenderDevice* pDevice, IDeviceContext* pContext, std::string filename, float scale = 1.0f);
+ void LoadFromFile(IRenderDevice* pDevice, IDeviceContext* pContext, std::string filename, float scale = 1.0f);
void Destroy();
void Draw(IDeviceContext* pCtx);
void UpdateAnimation(IDeviceContext* pContext, Uint32 index, float time);
@@ -277,7 +277,7 @@ private:
const tinygltf::Model& gltf_model);
void LoadTextureSamplers(IRenderDevice* pDevice, const tinygltf::Model& gltf_model);
void LoadMaterials(const tinygltf::Model& gltf_model);
- void loadAnimations(const tinygltf::Model& gltf_model);
+ void LoadAnimations(const tinygltf::Model& gltf_model);
void DrawNode(IDeviceContext* pCtx, const Node* node);
void CalculateBoundingBox(Node* node, const Node* parent);
void GetSceneDimensions();