Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ImageExporter.h « collada « io « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5859f076e014e443a26a140b94afa4f06fe1f607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* SPDX-License-Identifier: GPL-2.0-or-later */

/** \file
 * \ingroup collada
 */

#pragma once

#include <string>
#include <vector>

#include "COLLADASWLibraryImages.h"
#include "COLLADASWStreamWriter.h"

#include "DNA_image_types.h"
#include "DNA_material_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"

#include "ExportSettings.h"
#include "collada_utils.h"

class ImagesExporter : COLLADASW::LibraryImages {
 public:
  ImagesExporter(COLLADASW::StreamWriter *sw,
                 BCExportSettings &export_settings,
                 KeyImageMap &key_image_map);
  void exportImages(Scene *sce);

 private:
  BCExportSettings &export_settings;
  KeyImageMap &key_image_map;
  void export_UV_Image(Image *image, bool use_copies);
};