Blender V5.0
bmesh_py_types_customdata.hh File Reference
#include <Python.h>
#include "bmesh_py_types.hh"

Go to the source code of this file.

Classes

struct  BPy_BMLayerAccess
struct  BPy_BMLayerCollection
struct  BPy_BMLayerItem

Macros

#define BPy_BMLayerAccess_Check(v)
#define BPy_BMLayerCollection_Check(v)
#define BPy_BMLayerItem_Check(v)

Functions

PyObject * BPy_BMLayerAccess_CreatePyObject (BMesh *bm, char htype)
PyObject * BPy_BMLayerCollection_CreatePyObject (BMesh *bm, char htype, int type)
PyObject * BPy_BMLayerItem_CreatePyObject (BMesh *bm, char htype, int type, int index)
void BPy_BM_init_types_customdata ()
PyObject * BPy_BMLayerItem_GetItem (BPy_BMElem *py_ele, BPy_BMLayerItem *py_layer)
 BMElem.__getitem__() / setitem().
int BPy_BMLayerItem_SetItem (BPy_BMElem *py_ele, BPy_BMLayerItem *py_layer, PyObject *value)

Variables

PyTypeObject BPy_BMLayerAccessVert_Type
PyTypeObject BPy_BMLayerAccessEdge_Type
PyTypeObject BPy_BMLayerAccessFace_Type
PyTypeObject BPy_BMLayerAccessLoop_Type
PyTypeObject BPy_BMLayerCollection_Type
PyTypeObject BPy_BMLayerItem_Type

Macro Definition Documentation

◆ BPy_BMLayerAccess_Check

#define BPy_BMLayerAccess_Check ( v)
Value:
(Py_TYPE(v) == &BPy_BMLayerAccess_Type)
ATTR_WARN_UNUSED_RESULT const BMVert * v

Definition at line 27 of file bmesh_py_types_customdata.hh.

◆ BPy_BMLayerCollection_Check

#define BPy_BMLayerCollection_Check ( v)
Value:
PyTypeObject BPy_BMLayerCollection_Type

Definition at line 28 of file bmesh_py_types_customdata.hh.

◆ BPy_BMLayerItem_Check

#define BPy_BMLayerItem_Check ( v)

Function Documentation

◆ BPy_BM_init_types_customdata()

◆ BPy_BMLayerAccess_CreatePyObject()

PyObject * BPy_BMLayerAccess_CreatePyObject ( BMesh * bm,
char htype )
nodiscard

◆ BPy_BMLayerCollection_CreatePyObject()

PyObject * BPy_BMLayerCollection_CreatePyObject ( BMesh * bm,
char htype,
int type )
nodiscard

Definition at line 1039 of file bmesh_py_types_customdata.cc.

References bm, BPy_BMLayerCollection_Type, and self.

Referenced by bpy_bmlayeraccess_collection_get().

◆ BPy_BMLayerItem_CreatePyObject()

◆ BPy_BMLayerItem_GetItem()

◆ BPy_BMLayerItem_SetItem()

Variable Documentation

◆ BPy_BMLayerAccessEdge_Type

PyTypeObject BPy_BMLayerAccessEdge_Type
extern

◆ BPy_BMLayerAccessFace_Type

PyTypeObject BPy_BMLayerAccessFace_Type
extern

◆ BPy_BMLayerAccessLoop_Type

PyTypeObject BPy_BMLayerAccessLoop_Type
extern

◆ BPy_BMLayerAccessVert_Type

PyTypeObject BPy_BMLayerAccessVert_Type
extern

◆ BPy_BMLayerCollection_Type

PyTypeObject BPy_BMLayerCollection_Type
extern

◆ BPy_BMLayerItem_Type

PyTypeObject BPy_BMLayerItem_Type
extern