irrlicht/source/Irrlicht/CB3DJSONMeshFileLoader.h

35 lines
589 B
C
Raw Normal View History

#pragma once
2023-11-26 08:03:32 +01:00
#include "IAnimatedMesh.h"
#include "IMeshLoader.h"
#include "CSkinnedMesh.h"
2023-11-26 08:03:32 +01:00
#include "IReadFile.h"
#include "path.h"
namespace irr
{
namespace scene
{
class CB3DJSONMeshFileLoader : public IMeshLoader
{
private:
// Fields.
CSkinnedMesh* AnimatedMesh;
// Methods.
void cleanUp(std::string);
bool parseJSONFile();
2023-11-26 08:03:32 +01:00
public:
CB3DJSONMeshFileLoader();
bool isALoadableFileExtension(const io::path& fileName) const override;
IAnimatedMesh* createMesh(io::IReadFile* file) override;
};// class CB3DJSONMeshFileLoader
} // namespace scene
} // namespace irr