Blender V4.3
bmesh_py_types_customdata.hh File Reference

Go to the source code of this file.

Classes

struct  BPy_BMLayerAccess
 
struct  BPy_BMLayerCollection
 
struct  BPy_BMLayerItem
 

Macros

#define BPy_BMLayerAccess_Check(v)   (Py_TYPE(v) == &BPy_BMLayerAccess_Type)
 
#define BPy_BMLayerCollection_Check(v)   (Py_TYPE(v) == &BPy_BMLayerCollection_Type)
 
#define BPy_BMLayerItem_Check(v)   (Py_TYPE(v) == &BPy_BMLayerItem_Type)
 

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)    (Py_TYPE(v) == &BPy_BMLayerAccess_Type)

Definition at line 23 of file bmesh_py_types_customdata.hh.

◆ BPy_BMLayerCollection_Check

#define BPy_BMLayerCollection_Check ( v)    (Py_TYPE(v) == &BPy_BMLayerCollection_Type)

Definition at line 24 of file bmesh_py_types_customdata.hh.

◆ BPy_BMLayerItem_Check

#define BPy_BMLayerItem_Check ( v)    (Py_TYPE(v) == &BPy_BMLayerItem_Type)

Function Documentation

◆ BPy_BM_init_types_customdata()

◆ BPy_BMLayerAccess_CreatePyObject()

PyObject * BPy_BMLayerAccess_CreatePyObject ( BMesh * bm,
char htype )

◆ BPy_BMLayerCollection_CreatePyObject()

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

Definition at line 1033 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