Blender V5.3
imbuf_py_api.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
5#pragma once
6
10
11#include <Python.h>
12
13namespace blender {
14
15struct ImBuf;
16
17[[nodiscard]] PyObject *BPyInit_imbuf();
18
19extern PyTypeObject Py_ImBuf_Type;
20
22[[nodiscard]] ImBuf *BPy_ImBuf_FromPyObject(PyObject *py_imbuf);
23
24} // namespace blender
BMesh Iterators.
PyTypeObject Py_ImBuf_Type
PyObject * BPyInit_imbuf()
ImBuf * BPy_ImBuf_FromPyObject(PyObject *py_imbuf)