Blender V5.3
gpu_py_platform.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
8
9#pragma once
10
11#include <Python.h>
12
13namespace blender {
14
15/* GPU Device Python object structure */
17 PyObject_HEAD
18 int index;
19 const char *identifier;
20 const char *name;
21};
22
23extern PyTypeObject BPyGPU_DeviceType;
24
25[[nodiscard]] PyObject *bpygpu_platform_init();
26
27} // namespace blender
BMesh Iterators.
PyTypeObject BPyGPU_DeviceType
PyObject * bpygpu_platform_init()
PyObject_HEAD int index