Files
directx-plane-game/Graphics2/SplitMeshNode.h
iDunnoDev 7a57c73ac3 Added the camera class
Added the DDS Texture Loading for future use
Added the gamepad class for future use
Added first child method to the scenegraph
Added RGB to intensity and lerp methods to the shared methods class
Added the terrain node class with normals
Fixed issue with submeshnode not passing the world transform to the actual meshes
2022-04-18 22:33:15 +01:00

23 lines
499 B
C++

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