Blender
V5.3
source
blender
python
gpu
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
13
namespace
blender
{
14
15
/* GPU Device Python object structure */
16
struct
BPyGPUDevice
{
17
PyObject_HEAD
18
int
index
;
19
const
char
*
identifier
;
20
const
char
*
name
;
21
};
22
23
extern
PyTypeObject
BPyGPU_DeviceType
;
24
25
[[nodiscard]] PyObject *
bpygpu_platform_init
();
26
27
}
// namespace blender
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::BPyGPU_DeviceType
PyTypeObject BPyGPU_DeviceType
Definition
gpu_py_platform.cc:119
blender::bpygpu_platform_init
PyObject * bpygpu_platform_init()
Definition
gpu_py_platform.cc:408
blender::BPyGPUDevice
Definition
gpu_py_platform.hh:16
blender::BPyGPUDevice::name
const char * name
Definition
gpu_py_platform.hh:20
blender::BPyGPUDevice::index
PyObject_HEAD int index
Definition
gpu_py_platform.hh:18
blender::BPyGPUDevice::identifier
const char * identifier
Definition
gpu_py_platform.hh:19
Generated on
for Blender by
doxygen
1.18.0