2022-02-11 09:07:11 +11:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2011-09-09 11:55:38 +00:00
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
|
* \ingroup bpygpu
|
2011-09-09 11:55:38 +00:00
|
|
|
*/
|
2013-09-19 23:17:52 +00:00
|
|
|
|
2018-09-05 21:10:42 -03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "GPU_vertex_format.h"
|
|
|
|
|
|
|
|
|
|
extern PyTypeObject BPyGPUVertFormat_Type;
|
|
|
|
|
|
|
|
|
|
#define BPyGPUVertFormat_Check(v) (Py_TYPE(v) == &BPyGPUVertFormat_Type)
|
2013-09-19 23:17:52 +00:00
|
|
|
|
2018-09-05 21:10:42 -03:00
|
|
|
typedef struct BPyGPUVertFormat {
|
2021-04-01 11:15:47 +11:00
|
|
|
PyObject_VAR_HEAD
|
|
|
|
|
struct GPUVertFormat fmt;
|
2018-09-05 21:10:42 -03:00
|
|
|
} BPyGPUVertFormat;
|
2011-09-09 11:55:38 +00:00
|
|
|
|
2018-09-05 21:10:42 -03:00
|
|
|
PyObject *BPyGPUVertFormat_CreatePyObject(struct GPUVertFormat *fmt);
|