Blender V4.3
obj_importer.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11#include "IO_wavefront_obj.hh"
12
13namespace blender::io::obj {
14
15void importer_geometry(const OBJImportParams &import_params,
16 Vector<bke::GeometrySet> &geometries,
17 size_t read_buffer_size = 256 * 1024);
18
19/* Main import function used from within Blender. */
20void importer_main(bContext *C, const OBJImportParams &import_params);
21
22/* Used from tests, where full bContext does not exist. */
23void importer_main(Main *bmain,
24 Scene *scene,
25 ViewLayer *view_layer,
26 const OBJImportParams &import_params,
27 size_t read_buffer_size = 256 * 1024);
28
29} // namespace blender::io::obj
void importer_geometry(const OBJImportParams &import_params, Vector< bke::GeometrySet > &geometries, size_t read_buffer_size)
void importer_main(bContext *C, const OBJImportParams &import_params)