Blender V5.0
gpu_py_vertex_format.hh File Reference
#include <Python.h>
#include "GPU_vertex_format.hh"

Go to the source code of this file.

Classes

struct  BPyGPUVertFormat

Macros

#define BPyGPUVertFormat_Check(v)

Functions

PyObject * BPyGPUVertFormat_CreatePyObject (GPUVertFormat *fmt)

Variables

PyTypeObject BPyGPUVertFormat_Type

Macro Definition Documentation

◆ BPyGPUVertFormat_Check

#define BPyGPUVertFormat_Check ( v)
Value:
(Py_TYPE(v) == &BPyGPUVertFormat_Type)
ATTR_WARN_UNUSED_RESULT const BMVert * v
PyTypeObject BPyGPUVertFormat_Type

Definition at line 17 of file gpu_py_vertex_format.hh.

Function Documentation

◆ BPyGPUVertFormat_CreatePyObject()

PyObject * BPyGPUVertFormat_CreatePyObject ( GPUVertFormat * fmt)
nodiscard

Definition at line 250 of file gpu_py_vertex_format.cc.

References BPyGPUVertFormat_Type, and self.

Referenced by pygpu_shader_format_calc(), and pygpu_vertformat__tp_new().

Variable Documentation

◆ BPyGPUVertFormat_Type

PyTypeObject BPyGPUVertFormat_Type
extern