Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gpu_py_vertex_format.h « gpu « python « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1d2722b8a49b8e9082f7b9562fd10773b67b39dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-or-later */

/** \file
 * \ingroup bpygpu
 */

#pragma once

#include "GPU_vertex_format.h"

extern PyTypeObject BPyGPUVertFormat_Type;

#define BPyGPUVertFormat_Check(v) (Py_TYPE(v) == &BPyGPUVertFormat_Type)

typedef struct BPyGPUVertFormat {
  PyObject_VAR_HEAD
  struct GPUVertFormat fmt;
} BPyGPUVertFormat;

PyObject *BPyGPUVertFormat_CreatePyObject(struct GPUVertFormat *fmt);