mesh_encoder.h 362 B

123456789101112131415161718192021222324
  1. #ifndef DEPTHGUIDE_MESH_ENCODER_H
  2. #define DEPTHGUIDE_MESH_ENCODER_H
  3. #include "render/render_mesh.h"
  4. #include <memory>
  5. class mesh_encoder {
  6. public:
  7. mesh_encoder();
  8. ~mesh_encoder();
  9. data_type encode(const mesh_ptr &mesh);
  10. void clear_cache();
  11. private:
  12. struct impl;
  13. std::unique_ptr<impl> pimpl;
  14. };
  15. #endif //DEPTHGUIDE_MESH_ENCODER_H