render_scene.h 517 B

123456789101112131415161718192021222324252627282930
  1. #ifndef DEPTHGUIDE_RENDER_SCENE_H
  2. #define DEPTHGUIDE_RENDER_SCENE_H
  3. #include "core/image_utility_v2.h"
  4. #include "render_mesh.h"
  5. struct scene_render_info {
  6. image_ptr background_img = nullptr;
  7. enum item_type {
  8. ITEM_MESH,
  9. ITEM_PC,
  10. };
  11. struct mesh_info {
  12. mesh_type *mesh = nullptr;
  13. struct material_type {
  14. glm::vec3 ambient;
  15. glm::vec3 diffuse;
  16. } material = {};
  17. };
  18. struct pc_info {
  19. };
  20. };
  21. #endif //DEPTHGUIDE_RENDER_SCENE_H