Blender
V5.3
source
blender
python
gpu
gpu_py_vertex_format.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
#include "
GPU_vertex_format.hh
"
14
15
namespace
blender
{
16
17
extern
PyTypeObject
BPyGPUVertFormat_Type
;
18
19
#define BPyGPUVertFormat_Check(v) (Py_TYPE(v) == &BPyGPUVertFormat_Type)
20
21
struct
BPyGPUVertFormat
{
22
PyObject_HEAD
23
GPUVertFormat
fmt
;
24
};
25
26
[[nodiscard]] PyObject *
BPyGPUVertFormat_CreatePyObject
(
GPUVertFormat
*fmt);
27
28
}
// namespace blender
GPU_vertex_format.hh
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::BPyGPUVertFormat_Type
PyTypeObject BPyGPUVertFormat_Type
Definition
gpu_py_vertex_format.cc:190
blender::BPyGPUVertFormat_CreatePyObject
PyObject * BPyGPUVertFormat_CreatePyObject(GPUVertFormat *fmt)
Definition
gpu_py_vertex_format.cc:248
blender::BPyGPUVertFormat
Definition
gpu_py_vertex_format.hh:21
blender::BPyGPUVertFormat::fmt
PyObject_HEAD GPUVertFormat fmt
Definition
gpu_py_vertex_format.hh:23
blender::GPUVertFormat
Definition
GPU_vertex_format.hh:222
Generated on
for Blender by
doxygen
1.18.0