test equirect timelapse

This commit is contained in:
2019-11-02 14:36:44 +01:00
parent a6a4f4f501
commit 167cceabfd
3 changed files with 20 additions and 5 deletions

View File

@@ -81,7 +81,7 @@ public:
void clear(const glm::vec4& c, int frame = -1);
LayerFrame::Snapshot snapshot(int frame = -1, std::array<glm::vec4, 6>* dirty_box = nullptr, std::array<bool, 6>* dirty_face = nullptr);
TextureCube gen_cube();
Texture2D gen_equirect();
Texture2D gen_equirect(glm::ivec2 size = { 0, 0 });
void restore(const LayerFrame::Snapshot& snap, int frame = -1);
void destroy();
void optimize(int frame = -1);