Blender  V3.3
Classes | Macros | Typedefs | Functions | Variables
bmesh_py_types_customdata.h 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)
 

Typedefs

typedef struct BPy_BMLayerAccess BPy_BMLayerAccess
 
typedef struct BPy_BMLayerCollection BPy_BMLayerCollection
 
typedef struct BPy_BMLayerItem BPy_BMLayerItem
 

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 (void)
 
PyObject * BPy_BMLayerItem_GetItem (BPy_BMElem *py_ele, BPy_BMLayerItem *py_layer)
 BMElem.__getitem__() / setitem() More...
 
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 20 of file bmesh_py_types_customdata.h.

◆ BPy_BMLayerCollection_Check

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

Definition at line 21 of file bmesh_py_types_customdata.h.

◆ BPy_BMLayerItem_Check

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

Definition at line 22 of file bmesh_py_types_customdata.h.

Typedef Documentation

◆ BPy_BMLayerAccess

All layers for vert/edge/face/loop.

◆ BPy_BMLayerCollection

Access different layer types deform/uv/vertex-color.

◆ BPy_BMLayerItem

Access a specific layer directly.

Function Documentation

◆ BPy_BM_init_types_customdata()

void BPy_BM_init_types_customdata ( void  )

◆ 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 964 of file bmesh_py_types_customdata.c.

References bm, BPy_BMLayerCollection_Type, and type.

Referenced by bpy_bmlayeraccess_collection_get().

◆ BPy_BMLayerItem_CreatePyObject()

PyObject* BPy_BMLayerItem_CreatePyObject ( BMesh bm,
char  htype,
int  type,
int  index 
)

◆ BPy_BMLayerItem_GetItem()

PyObject* BPy_BMLayerItem_GetItem ( BPy_BMElem py_ele,
BPy_BMLayerItem py_layer 
)

◆ BPy_BMLayerItem_SetItem()

int BPy_BMLayerItem_SetItem ( BPy_BMElem py_ele,
BPy_BMLayerItem py_layer,
PyObject *  value 
)

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