implement frames save and open from ppi
This commit is contained in:
@@ -63,11 +63,11 @@ public:
|
||||
bool add_frame();
|
||||
int total_duration() const noexcept;
|
||||
void goto_frame(int frame) noexcept;
|
||||
void clear(const glm::vec4& c);
|
||||
Snapshot snapshot(std::array<glm::vec4, 6>* dirty_box = nullptr, std::array<bool, 6>* dirty_face = nullptr);
|
||||
void clear(const glm::vec4& c, int frame = -1);
|
||||
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();
|
||||
void restore(const Snapshot& snap);
|
||||
void restore(const Snapshot& snap, int frame = -1);
|
||||
void destroy();
|
||||
void optimize();
|
||||
void optimize(int frame = -1);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user