33 lines
996 B
C
Raw Normal View History

2022-05-21 19:58:09 +02:00
#pragma once
#include <cstdint>
#include "Exporter.h"
namespace Assets::Exporters
{
// The Wavefront Object exporter
class WavefrontOBJ : public Exporter
{
public:
WavefrontOBJ() = default;
~WavefrontOBJ() = default;
// Exports the given animation to the provided path.
virtual bool ExportAnimation(const Animation& Animation, const string& Path);
// Exports the given model to the provided path.
virtual bool ExportModel(const Model& Model, const string& Path);
// Gets the file extension for this exporters model format.
virtual imstring ModelExtension();
// Gets the file extension for this exporters animation format.
virtual imstring AnimationExtension();
// Gets the required scaling constant for this exporter.
virtual ExporterScale ExportScale();
// Gets whether or not the exporter supports animation exporting.
virtual bool SupportsAnimations();
// Gets whether or not the exporter supports model exporting.
virtual bool SupportsModels();
};
}