Blender
V5.0
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
extern
PyTypeObject
BPyGPUVertFormat_Type
;
16
17
#define BPyGPUVertFormat_Check(v) (Py_TYPE(v) == &BPyGPUVertFormat_Type)
18
19
struct
BPyGPUVertFormat
{
20
PyObject_VAR_HEAD
21
GPUVertFormat
fmt
;
22
};
23
24
[[nodiscard]] PyObject *
BPyGPUVertFormat_CreatePyObject
(
GPUVertFormat
*fmt);
GPU_vertex_format.hh
BPyGPUVertFormat_Type
PyTypeObject BPyGPUVertFormat_Type
Definition
gpu_py_vertex_format.cc:192
BPyGPUVertFormat_CreatePyObject
PyObject * BPyGPUVertFormat_CreatePyObject(GPUVertFormat *fmt)
Definition
gpu_py_vertex_format.cc:250
BPyGPUVertFormat
Definition
gpu_py_vertex_format.hh:19
BPyGPUVertFormat::fmt
PyObject_VAR_HEAD GPUVertFormat fmt
Definition
gpu_py_vertex_format.hh:21
GPUVertFormat
Definition
GPU_vertex_format.hh:217
Generated on
for Blender by
doxygen
1.16.1