Added the ASSIMP library

Added the files provided for the tutorial
Added the SplitMeshNode and SubMeshNode classes
This commit is contained in:
iDunnoDev
2022-03-18 21:26:31 +00:00
committed by iDunnoDev
parent 6bdfe4569f
commit 65255f1321
105 changed files with 19816 additions and 11 deletions

22
Graphics2/SplitMeshNode.h Normal file
View File

@ -0,0 +1,22 @@
#pragma once
#include "DirectXFramework.h"
#include "SceneGraph.h"
#include "SubMeshNode.h"
class SplitMeshNode : public SceneGraph
{
public:
SplitMeshNode(wstring name, wstring modelName);
bool Initialise(void);
SceneGraphPointer AddMeshNode(shared_ptr<Node> node);
private:
shared_ptr<SubMeshRenderer> _renderer;
wstring _modelName;
shared_ptr<ResourceManager> _resourceManager;
shared_ptr<Mesh> _mesh;
bool _isInit = false;
};