Blender V5.0
bmesh_py_types_meshdata.hh File Reference
#include <Python.h>
#include "bmesh.hh"

Go to the source code of this file.

Classes

struct  BPy_BMGenericMeshData

Macros

#define BPy_BMLoopUV_Check(v)

Functions

int BPy_BMLoopUV_AssignPyObject (struct BMesh *bm, BMLoop *loop, PyObject *value)
PyObject * BPy_BMLoopUV_CreatePyObject (struct BMesh *bm, BMLoop *loop, int layer)
int BPy_BMVertSkin_AssignPyObject (struct MVertSkin *mvertskin, PyObject *value)
PyObject * BPy_BMVertSkin_CreatePyObject (struct MVertSkin *mvertskin)
int BPy_BMLoopColor_AssignPyObject (struct MLoopCol *mloopcol, PyObject *value)
PyObject * BPy_BMLoopColor_CreatePyObject (struct MLoopCol *mloopcol)
int BPy_BMDeformVert_AssignPyObject (struct MDeformVert *dvert, PyObject *value)
PyObject * BPy_BMDeformVert_CreatePyObject (struct MDeformVert *dvert)
void BPy_BM_init_types_meshdata ()

Variables

PyTypeObject BPy_BMLoopUV_Type
PyTypeObject BPy_BMDeformVert_Type

Macro Definition Documentation

◆ BPy_BMLoopUV_Check

#define BPy_BMLoopUV_Check ( v)
Value:
(Py_TYPE(v) == &BPy_BMLoopUV_Type)
PyTypeObject BPy_BMLoopUV_Type
ATTR_WARN_UNUSED_RESULT const BMVert * v

Definition at line 18 of file bmesh_py_types_meshdata.hh.

Function Documentation

◆ BPy_BM_init_types_meshdata()

void BPy_BM_init_types_meshdata ( )

◆ BPy_BMDeformVert_AssignPyObject()

int BPy_BMDeformVert_AssignPyObject ( struct MDeformVert * dvert,
PyObject * value )
nodiscard

◆ BPy_BMDeformVert_CreatePyObject()

PyObject * BPy_BMDeformVert_CreatePyObject ( struct MDeformVert * dvert)
nodiscard

Definition at line 738 of file bmesh_py_types_meshdata.cc.

References BPy_BMDeformVert_Type, and self.

Referenced by BPy_BMLayerItem_GetItem().

◆ BPy_BMLoopColor_AssignPyObject()

int BPy_BMLoopColor_AssignPyObject ( struct MLoopCol * mloopcol,
PyObject * value )
nodiscard

Definition at line 380 of file bmesh_py_types_meshdata.cc.

References mathutils_array_parse(), and mloopcol_from_float().

Referenced by BPy_BMLayerItem_SetItem().

◆ BPy_BMLoopColor_CreatePyObject()

PyObject * BPy_BMLoopColor_CreatePyObject ( struct MLoopCol * mloopcol)
nodiscard

◆ BPy_BMLoopUV_AssignPyObject()

int BPy_BMLoopUV_AssignPyObject ( struct BMesh * bm,
BMLoop * loop,
PyObject * value )
nodiscard

◆ BPy_BMLoopUV_CreatePyObject()

PyObject * BPy_BMLoopUV_CreatePyObject ( struct BMesh * bm,
BMLoop * loop,
int layer )
nodiscard

◆ BPy_BMVertSkin_AssignPyObject()

int BPy_BMVertSkin_AssignPyObject ( struct MVertSkin * mvertskin,
PyObject * value )
nodiscard

Definition at line 282 of file bmesh_py_types_meshdata.cc.

References BPy_BMVertSkin_Check, data, and UNLIKELY.

Referenced by BPy_BMLayerItem_SetItem().

◆ BPy_BMVertSkin_CreatePyObject()

PyObject * BPy_BMVertSkin_CreatePyObject ( struct MVertSkin * mvertskin)
nodiscard

Definition at line 293 of file bmesh_py_types_meshdata.cc.

References BPy_BMVertSkin_Type, and self.

Referenced by BPy_BMLayerItem_GetItem().

Variable Documentation

◆ BPy_BMDeformVert_Type

PyTypeObject BPy_BMDeformVert_Type
extern

◆ BPy_BMLoopUV_Type

PyTypeObject BPy_BMLoopUV_Type
extern