Blender  V3.3
obj_importer.hh
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 #include "IO_wavefront_obj.h"
10 
11 namespace blender::io::obj {
12 
13 /* Main import function used from within Blender. */
14 void importer_main(bContext *C, const OBJImportParams &import_params);
15 
16 /* Used from tests, where full bContext does not exist. */
17 void importer_main(Main *bmain,
18  Scene *scene,
19  ViewLayer *view_layer,
20  const OBJImportParams &import_params,
21  size_t read_buffer_size = 64 * 1024);
22 
23 } // namespace blender::io::obj
Scene scene
void importer_main(bContext *C, const OBJImportParams &import_params)
Definition: obj_importer.cc:94
Definition: BKE_main.h:121