Blender  V3.3
ImageExporter.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 #include <string>
10 #include <vector>
11 
12 #include "COLLADASWLibraryImages.h"
13 #include "COLLADASWStreamWriter.h"
14 
15 #include "DNA_image_types.h"
16 #include "DNA_material_types.h"
17 #include "DNA_object_types.h"
18 #include "DNA_scene_types.h"
19 
20 #include "ExportSettings.h"
21 #include "collada_utils.h"
22 
23 class ImagesExporter : COLLADASW::LibraryImages {
24  public:
25  ImagesExporter(COLLADASW::StreamWriter *sw,
26  BCExportSettings &export_settings,
27  KeyImageMap &key_image_map);
28  void exportImages(Scene *sce);
29 
30  private:
31  BCExportSettings &export_settings;
32  KeyImageMap &key_image_map;
33  void export_UV_Image(Image *image, bool use_copies);
34 };
Object is a sort of wrapper for general info.
ImagesExporter(COLLADASW::StreamWriter *sw, BCExportSettings &export_settings, KeyImageMap &key_image_map)
void exportImages(Scene *sce)
std::map< std::string, Image * > KeyImageMap
Definition: collada_utils.h:56
depth_tx normal_tx diffuse_light_tx specular_light_tx volume_light_tx environment_tx ambient_occlusion_tx aov_value_tx in_weight_img image(1, GPU_R32F, Qualifier::WRITE, ImageType::FLOAT_2D_ARRAY, "out_weight_img") .image(3
ccl_gpu_kernel_postfix ccl_global float int int int sw