add export timelapse

This commit is contained in:
2019-11-03 01:07:13 +01:00
parent cd128f215a
commit ee94e0ad86
7 changed files with 57 additions and 14 deletions

View File

@@ -34,6 +34,7 @@ public:
bool write_mp4(const std::string& filename) const noexcept;
void destroy() noexcept;
int frames_count() const noexcept { return m_frames.size(); }
glm::ivec2 frame_size() const noexcept { return { m_width, m_height }; }
virtual bool read(BinaryStreamReader& r) override;
virtual void write(BinaryStreamWriter& w) const override;
};