Blender V5.0
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
15extern PyTypeObject BPyGPUVertFormat_Type;
16
17#define BPyGPUVertFormat_Check(v) (Py_TYPE(v) == &BPyGPUVertFormat_Type)
18
20 PyObject_VAR_HEAD
22};
23
24[[nodiscard]] PyObject *BPyGPUVertFormat_CreatePyObject(GPUVertFormat *fmt);
PyTypeObject BPyGPUVertFormat_Type
PyObject * BPyGPUVertFormat_CreatePyObject(GPUVertFormat *fmt)
PyObject_VAR_HEAD GPUVertFormat fmt