Blender V5.3
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
15namespace blender {
16
17extern PyTypeObject BPyGPUVertFormat_Type;
18
19#define BPyGPUVertFormat_Check(v) (Py_TYPE(v) == &BPyGPUVertFormat_Type)
20
22 PyObject_HEAD
24};
25
26[[nodiscard]] PyObject *BPyGPUVertFormat_CreatePyObject(GPUVertFormat *fmt);
27
28} // namespace blender
BMesh Iterators.
PyTypeObject BPyGPUVertFormat_Type
PyObject * BPyGPUVertFormat_CreatePyObject(GPUVertFormat *fmt)
PyObject_HEAD GPUVertFormat fmt