Blender  V3.3
gpencil_io_import_base.hh
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2020 Blender Foundation. All rights reserved. */
3 #pragma once
4 
8 #include "gpencil_io_base.hh"
9 
10 namespace blender::io::gpencil {
11 
12 class GpencilImporter : public GpencilIO {
13 
14  public:
15  GpencilImporter(const struct GpencilIOParams *iparams);
16  virtual bool read() = 0;
17 
18  protected:
19  struct Object *create_object();
20  int32_t create_material(const char *name, bool stroke, bool fill);
21 
22  private:
23 };
24 
25 } // namespace blender::io::gpencil
GpencilImporter(const struct GpencilIOParams *iparams)
int32_t create_material(const char *name, bool stroke, bool fill)
signed int int32_t
Definition: stdint.h:77
ustring name
Definition: graph/node.h:174