Blender V4.3
bmesh_py_types_customdata.cc File Reference

Go to the source code of this file.

Functions

static CustomDatabpy_bm_customdata_get (BMesh *bm, char htype)
 
static CustomDataLayerbpy_bmlayeritem_get (BPy_BMLayerItem *self)
 
 PyDoc_STRVAR (bpy_bmlayeraccess_collection__float_doc, "Generic float custom-data layer.\n" "\n" ":type: :class:`BMLayerCollection` of float")
 
 PyDoc_STRVAR (bpy_bmlayeraccess_collection__int_doc, "Generic int custom-data layer.\n" "\n" ":type: :class:`BMLayerCollection` of int")
 
 PyDoc_STRVAR (bpy_bmlayeraccess_collection__float_vector_doc, "Generic 3D vector with float precision custom-data layer.\n" "\n" ":type: " ":class:`BMLayerCollection` of :class:`mathutils.Vector`")
 
 PyDoc_STRVAR (bpy_bmlayeraccess_collection__float_color_doc, "Generic RGBA color with float precision custom-data layer.\n" "\n" ":type: " ":class:`BMLayerCollection` of :class:`mathutils.Vector`")
 
 PyDoc_STRVAR (bpy_bmlayeraccess_collection__color_doc, "Generic RGBA color with 8-bit precision custom-data layer.\n" "\n" ":type: " ":class:`BMLayerCollection` of :class:`mathutils.Vector`")
 
 PyDoc_STRVAR (bpy_bmlayeraccess_collection__string_doc, "Generic string custom-data layer (exposed as bytes, 255 max length).\n" "\n" ":type: " ":class:`BMLayerCollection` of bytes")
 
 PyDoc_STRVAR (bpy_bmlayeraccess_collection__deform_doc, "Vertex deform weight :class:`BMDeformVert` (TODO).\n" "\n" ":type: " ":class:`BMLayerCollection` of :class:`bmesh.types.BMDeformVert`")
 
 PyDoc_STRVAR (bpy_bmlayeraccess_collection__shape_doc, "Vertex shapekey absolute location (as a 3D Vector).\n" "\n" ":type: :class:`BMLayerCollection` of :class:`mathutils.Vector`")
 
 PyDoc_STRVAR (bpy_bmlayeraccess_collection__uv_doc, "Accessor for :class:`BMLoopUV` UV (as a 2D Vector).\n" "\n" ":type: :class:`BMLayerCollection` of :class:`bmesh.types.BMLoopUV`")
 
 PyDoc_STRVAR (bpy_bmlayeraccess_collection__skin_doc, "Accessor for skin layer.\n" "\n" ":type: :class:`BMLayerCollection` of :class:`bmesh.types.BMVertSkin`")
 
static PyObject * bpy_bmlayeraccess_collection_get (BPy_BMLayerAccess *self, void *flag)
 
 PyDoc_STRVAR (bpy_bmlayercollection_active_doc, "The active layer of this type (read-only).\n" "\n" ":type: :class:`BMLayerItem`")
 
static PyObject * bpy_bmlayercollection_active_get (BPy_BMLayerItem *self, void *)
 
 PyDoc_STRVAR (bpy_bmlayercollection_is_singleton_doc, "True if there can exists only one layer of this type (read-only).\n" "\n" ":type: bool")
 
static PyObject * bpy_bmlayercollection_is_singleton_get (BPy_BMLayerItem *self, void *)
 
 PyDoc_STRVAR (bpy_bmlayercollection_name_doc, "The layers unique name (read-only).\n" "\n" ":type: str")
 
static PyObject * bpy_bmlayeritem_name_get (BPy_BMLayerItem *self, void *)
 
 PyDoc_STRVAR (bpy_bmlayeritem_copy_from_doc, ".. method:: copy_from(other)\n" "\n" " Return a copy of the layer\n" "\n" " :arg other: Another layer to copy from.\n" " :type other: :class:`BMLayerItem`\n")
 
static PyObject * bpy_bmlayeritem_copy_from (BPy_BMLayerItem *self, BPy_BMLayerItem *value)
 
 PyDoc_STRVAR (bpy_bmlayercollection_verify_doc, ".. method:: verify()\n" "\n" " Create a new layer or return an existing active layer\n" "\n" " :return: The newly verified layer.\n" " :rtype: :class:`BMLayerItem`\n")
 
static PyObject * bpy_bmlayercollection_verify (BPy_BMLayerCollection *self)
 
 PyDoc_STRVAR (bpy_bmlayercollection_new_doc, ".. method:: new(name)\n" "\n" " Create a new layer\n" "\n" " :arg name: Optional name argument (will be made unique).\n" " :type name: str\n" " :return: The newly created layer.\n" " :rtype: :class:`BMLayerItem`\n")
 
static PyObject * bpy_bmlayercollection_new (BPy_BMLayerCollection *self, PyObject *args)
 
 PyDoc_STRVAR (bpy_bmlayercollection_remove_doc, ".. method:: remove(layer)\n" "\n" " Remove a layer\n" "\n" " :arg layer: The layer to remove.\n" " :type layer: :class:`BMLayerItem`\n")
 
static PyObject * bpy_bmlayercollection_remove (BPy_BMLayerCollection *self, BPy_BMLayerItem *value)
 
 PyDoc_STRVAR (bpy_bmlayercollection_keys_doc, ".. method:: keys()\n" "\n" " Return the identifiers of collection members\n" " (matching Python's dict.keys() functionality).\n" "\n" " :return: the identifiers for each member of this collection.\n" " :rtype: list[str]\n")
 
static PyObject * bpy_bmlayercollection_keys (BPy_BMLayerCollection *self)
 
 PyDoc_STRVAR (bpy_bmlayercollection_items_doc, ".. method:: items()\n" "\n" " Return the identifiers of collection members\n" " (matching Python's dict.items() functionality).\n" "\n" " :return: (key, value) pairs for each member of this collection.\n" " :rtype: list[tuple[str, :class:`BMLayerItem`]]\n")
 
static PyObject * bpy_bmlayercollection_items (BPy_BMLayerCollection *self)
 
 PyDoc_STRVAR (bpy_bmlayercollection_values_doc, ".. method:: values()\n" "\n" " Return the values of collection\n" " (matching Python's dict.values() functionality).\n" "\n" " :return: the members of this collection.\n" " :rtype: list[:class:`BMLayerItem`]\n")
 
static PyObject * bpy_bmlayercollection_values (BPy_BMLayerCollection *self)
 
 PyDoc_STRVAR (bpy_bmlayercollection_get_doc, ".. method:: get(key, default=None)\n" "\n" " Returns the value of the layer matching the key or default\n" " when not found (matches Python's dictionary function of the same name).\n" "\n" " :arg key: The key associated with the layer.\n" " :type key: str\n" " :arg default: Optional argument for the value to return if\n" " *key* is not found.\n" " :type default: Any\n")
 
static PyObject * bpy_bmlayercollection_get (BPy_BMLayerCollection *self, PyObject *args)
 
static Py_ssize_t bpy_bmlayercollection_length (BPy_BMLayerCollection *self)
 
static PyObject * bpy_bmlayercollection_subscript_str (BPy_BMLayerCollection *self, const char *keyname)
 
static PyObject * bpy_bmlayercollection_subscript_int (BPy_BMLayerCollection *self, Py_ssize_t keynum)
 
static PyObject * bpy_bmlayercollection_subscript_slice (BPy_BMLayerCollection *self, Py_ssize_t start, Py_ssize_t stop)
 
static PyObject * bpy_bmlayercollection_subscript (BPy_BMLayerCollection *self, PyObject *key)
 
static int bpy_bmlayercollection_contains (BPy_BMLayerCollection *self, PyObject *value)
 
static PyObject * bpy_bmlayercollection_iter (BPy_BMLayerCollection *self)
 
 PyDoc_STRVAR (bpy_bmlayeraccess_type_doc, "Exposes custom-data layer attributes.")
 
 PyDoc_STRVAR (bpy_bmlayercollection_type_doc, "Gives access to a collection of custom-data layers of the same type and behaves " "like Python dictionaries, " "except for the ability to do list like index access.")
 
 PyDoc_STRVAR (bpy_bmlayeritem_type_doc, "Exposes a single custom data layer, " "their main purpose is for use as item accessors to custom-data when used with " "vert/edge/face/loop data.")
 
PyObject * BPy_BMLayerAccess_CreatePyObject (BMesh *bm, const char htype)
 
PyObject * BPy_BMLayerCollection_CreatePyObject (BMesh *bm, const char htype, int type)
 
PyObject * BPy_BMLayerItem_CreatePyObject (BMesh *bm, const char htype, int type, int index)
 
void BPy_BM_init_types_customdata ()
 
static void * bpy_bmlayeritem_ptr_get (BPy_BMElem *py_ele, BPy_BMLayerItem *py_layer)
 
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 *py_value)
 

Variables

static PyGetSetDef bpy_bmlayeraccess_vert_getseters []
 
static PyGetSetDef bpy_bmlayeraccess_edge_getseters []
 
static PyGetSetDef bpy_bmlayeraccess_face_getseters []
 
static PyGetSetDef bpy_bmlayeraccess_loop_getseters []
 
static PyGetSetDef bpy_bmlayercollection_getseters []
 
static PyGetSetDef bpy_bmlayeritem_getseters []
 
static PyMethodDef bpy_bmlayeritem_methods []
 
static PyMethodDef bpy_bmelemseq_methods []
 
static PySequenceMethods bpy_bmlayercollection_as_sequence
 
static PyMappingMethods bpy_bmlayercollection_as_mapping
 
PyTypeObject BPy_BMLayerAccessVert_Type
 
PyTypeObject BPy_BMLayerAccessEdge_Type
 
PyTypeObject BPy_BMLayerAccessFace_Type
 
PyTypeObject BPy_BMLayerAccessLoop_Type
 
PyTypeObject BPy_BMLayerCollection_Type
 
PyTypeObject BPy_BMLayerItem_Type
 

Detailed Description

This file defines the types for 'BMesh.verts/edges/faces/loops.layers' customdata layer access.

Definition in file bmesh_py_types_customdata.cc.

Function Documentation

◆ bpy_bm_customdata_get()

◆ BPy_BM_init_types_customdata()

◆ bpy_bmlayeraccess_collection_get()

static PyObject * bpy_bmlayeraccess_collection_get ( BPy_BMLayerAccess * self,
void * flag )
static

◆ BPy_BMLayerAccess_CreatePyObject()

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

◆ bpy_bmlayercollection_active_get()

static PyObject * bpy_bmlayercollection_active_get ( BPy_BMLayerItem * self,
void *  )
static

◆ bpy_bmlayercollection_contains()

static int bpy_bmlayercollection_contains ( BPy_BMLayerCollection * self,
PyObject * value )
static

◆ BPy_BMLayerCollection_CreatePyObject()

PyObject * BPy_BMLayerCollection_CreatePyObject ( BMesh * bm,
const 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_bmlayercollection_get()

static PyObject * bpy_bmlayercollection_get ( BPy_BMLayerCollection * self,
PyObject * args )
static

◆ bpy_bmlayercollection_is_singleton_get()

static PyObject * bpy_bmlayercollection_is_singleton_get ( BPy_BMLayerItem * self,
void *  )
static

◆ bpy_bmlayercollection_items()

◆ bpy_bmlayercollection_iter()

static PyObject * bpy_bmlayercollection_iter ( BPy_BMLayerCollection * self)
static

◆ bpy_bmlayercollection_keys()

static PyObject * bpy_bmlayercollection_keys ( BPy_BMLayerCollection * self)
static

◆ bpy_bmlayercollection_length()

◆ bpy_bmlayercollection_new()

◆ bpy_bmlayercollection_remove()

static PyObject * bpy_bmlayercollection_remove ( BPy_BMLayerCollection * self,
BPy_BMLayerItem * value )
static

◆ bpy_bmlayercollection_subscript()

static PyObject * bpy_bmlayercollection_subscript ( BPy_BMLayerCollection * self,
PyObject * key )
static

◆ bpy_bmlayercollection_subscript_int()

static PyObject * bpy_bmlayercollection_subscript_int ( BPy_BMLayerCollection * self,
Py_ssize_t keynum )
static

◆ bpy_bmlayercollection_subscript_slice()

static PyObject * bpy_bmlayercollection_subscript_slice ( BPy_BMLayerCollection * self,
Py_ssize_t start,
Py_ssize_t stop )
static

◆ bpy_bmlayercollection_subscript_str()

static PyObject * bpy_bmlayercollection_subscript_str ( BPy_BMLayerCollection * self,
const char * keyname )
static

◆ bpy_bmlayercollection_values()

◆ bpy_bmlayercollection_verify()

◆ bpy_bmlayeritem_copy_from()

static PyObject * bpy_bmlayeritem_copy_from ( BPy_BMLayerItem * self,
BPy_BMLayerItem * value )
static

◆ BPy_BMLayerItem_CreatePyObject()

◆ bpy_bmlayeritem_get()

static CustomDataLayer * bpy_bmlayeritem_get ( BPy_BMLayerItem * self)
static

◆ BPy_BMLayerItem_GetItem()

◆ bpy_bmlayeritem_name_get()

static PyObject * bpy_bmlayeritem_name_get ( BPy_BMLayerItem * self,
void *  )
static

Definition at line 199 of file bmesh_py_types_customdata.cc.

References BPY_BM_CHECK_OBJ, bpy_bmlayeritem_get(), and self.

◆ bpy_bmlayeritem_ptr_get()

◆ BPy_BMLayerItem_SetItem()

◆ PyDoc_STRVAR() [1/24]

PyDoc_STRVAR ( bpy_bmlayeraccess_collection__color_doc ,
"Generic RGBA color with 8-bit precision custom-data layer.\n" "\n" ":type: " ":class:`BMLayerCollection` of :class:`mathutils.Vector`"  )

◆ PyDoc_STRVAR() [2/24]

PyDoc_STRVAR ( bpy_bmlayeraccess_collection__deform_doc ,
"Vertex deform weight :class:`BMDeformVert` (TODO).\n" "\n" ":type: " ":class:`BMLayerCollection` of :class:`bmesh.types.BMDeformVert`"  )

◆ PyDoc_STRVAR() [3/24]

PyDoc_STRVAR ( bpy_bmlayeraccess_collection__float_color_doc ,
"Generic RGBA color with float precision custom-data layer.\n" "\n" ":type: " ":class:`BMLayerCollection` of :class:`mathutils.Vector`"  )

◆ PyDoc_STRVAR() [4/24]

PyDoc_STRVAR ( bpy_bmlayeraccess_collection__float_doc ,
"Generic float custom-data layer.\n" "\n" ":type: :class:`BMLayerCollection` of float"  )

◆ PyDoc_STRVAR() [5/24]

PyDoc_STRVAR ( bpy_bmlayeraccess_collection__float_vector_doc ,
"Generic 3D vector with float precision custom-data layer.\n" "\n" ":type: " ":class:`BMLayerCollection` of :class:`mathutils.Vector`"  )

◆ PyDoc_STRVAR() [6/24]

PyDoc_STRVAR ( bpy_bmlayeraccess_collection__int_doc ,
"Generic int custom-data layer.\n" "\n" ":type: :class:`BMLayerCollection` of int"  )

◆ PyDoc_STRVAR() [7/24]

PyDoc_STRVAR ( bpy_bmlayeraccess_collection__shape_doc ,
"Vertex shapekey absolute location (as a 3D Vector).\n" "\n" ":type: :class:`BMLayerCollection` of :class:`mathutils.Vector`"  )

◆ PyDoc_STRVAR() [8/24]

PyDoc_STRVAR ( bpy_bmlayeraccess_collection__skin_doc ,
"Accessor for skin layer.\n" "\n" ":type: :class:`BMLayerCollection` of :class:`bmesh.types.BMVertSkin`"  )

◆ PyDoc_STRVAR() [9/24]

PyDoc_STRVAR ( bpy_bmlayeraccess_collection__string_doc ,
"Generic string custom-data layer (exposed as bytes, 255 max length).\n" "\n" ":type: " ":class:`BMLayerCollection` of bytes"  )

◆ PyDoc_STRVAR() [10/24]

PyDoc_STRVAR ( bpy_bmlayeraccess_collection__uv_doc ,
"Accessor for :class:`BMLoopUV` UV (as a 2D Vector).\n" "\n" ":type: :class:`BMLayerCollection` of :class:`bmesh.types.BMLoopUV`"  )

◆ PyDoc_STRVAR() [11/24]

PyDoc_STRVAR ( bpy_bmlayeraccess_type_doc ,
"Exposes custom-data layer attributes."  )

◆ PyDoc_STRVAR() [12/24]

PyDoc_STRVAR ( bpy_bmlayercollection_active_doc ,
"The active layer of this type (read-only).\n" "\n" ":type: :class:`BMLayerItem`"  )

◆ PyDoc_STRVAR() [13/24]

PyDoc_STRVAR ( bpy_bmlayercollection_get_doc ,
".. method:: get(key, default=None)\n" "\n" " Returns the value of the layer matching the key or default\n" " when not found (matches Python's dictionary function of the same name).\n" "\n" " :arg key: The key associated with the layer.\n" " :type key: str\n" " :arg default: Optional argument for the value to return if\n" " *key* is not found.\n" " :type default: Any\n"  )

◆ PyDoc_STRVAR() [14/24]

PyDoc_STRVAR ( bpy_bmlayercollection_is_singleton_doc ,
"True if there can exists only one layer of this type (read-only).\n" "\n" ":type: bool"  )

◆ PyDoc_STRVAR() [15/24]

PyDoc_STRVAR ( bpy_bmlayercollection_items_doc ,
".. method:: items()\n" "\n" " Return the identifiers of collection members\n" " (matching Python's dict.items() functionality).\n" "\n" " :return: (key, value) pairs for each member of this collection.\n" " :rtype: list]\n" [tuple[str, :class:`BMLayerItem`] )

◆ PyDoc_STRVAR() [16/24]

PyDoc_STRVAR ( bpy_bmlayercollection_keys_doc ,
".. method:: keys()\n" "\n" " Return the identifiers of collection members\n" " (matching Python's dict.keys() functionality).\n" "\n" " :return: the identifiers for each member of this collection.\n" " :rtype: list\n" [str] )

◆ PyDoc_STRVAR() [17/24]

PyDoc_STRVAR ( bpy_bmlayercollection_name_doc ,
"The layers unique name (read-only).\n" "\n" ":type: str"  )

◆ PyDoc_STRVAR() [18/24]

PyDoc_STRVAR ( bpy_bmlayercollection_new_doc ,
".. method:: new(name)\n" "\n" " Create a new layer\n" "\n" " :arg name: Optional name argument (will be made unique).\n" " :type name: str\n" " :return: The newly created layer.\n" " :rtype: :class:`BMLayerItem`\n"  )

◆ PyDoc_STRVAR() [19/24]

PyDoc_STRVAR ( bpy_bmlayercollection_remove_doc ,
".. method:: remove(layer)\n" "\n" " Remove a layer\n" "\n" " :arg layer: The layer to remove.\n" " :type layer: :class:`BMLayerItem`\n"  )

◆ PyDoc_STRVAR() [20/24]

PyDoc_STRVAR ( bpy_bmlayercollection_type_doc ,
"Gives access to a collection of custom-data layers of the same type and behaves " "like Python dictionaries,
" "except for the ability to do list like index access."  )

◆ PyDoc_STRVAR() [21/24]

PyDoc_STRVAR ( bpy_bmlayercollection_values_doc ,
".. method:: values()\n" "\n" " Return the values of collection\n" " (matching Python's dict.values() functionality).\n" "\n" " :return: the members of this collection.\n" " :rtype: list\n" [:class:`BMLayerItem`] )

◆ PyDoc_STRVAR() [22/24]

PyDoc_STRVAR ( bpy_bmlayercollection_verify_doc ,
".. method:: verify()\n" "\n" " Create a new layer or return an existing active layer\n" "\n" " :return: The newly verified layer.\n" " :rtype: :class:`BMLayerItem`\n"  )

◆ PyDoc_STRVAR() [23/24]

PyDoc_STRVAR ( bpy_bmlayeritem_copy_from_doc ,
".. method:: copy_from(other)\n" "\n" " Return a copy of the layer\n" "\n" " :arg other: Another layer to copy from.\n" " :type other: :class:`BMLayerItem`\n"  )

◆ PyDoc_STRVAR() [24/24]

PyDoc_STRVAR ( bpy_bmlayeritem_type_doc ,
"Exposes a single custom data layer,
" "their main purpose is for use as item accessors to custom-data when used with " "vert/edge/face/loop data."  )

Variable Documentation

◆ bpy_bmelemseq_methods

PyMethodDef bpy_bmelemseq_methods[]
static
Initial value:
= {
{"verify",
METH_NOARGS,
bpy_bmlayercollection_verify_doc},
{"new", (PyCFunction)bpy_bmlayercollection_new, METH_VARARGS, bpy_bmlayercollection_new_doc},
{"remove",
METH_O,
bpy_bmlayercollection_remove_doc},
{"keys", (PyCFunction)bpy_bmlayercollection_keys, METH_NOARGS, bpy_bmlayercollection_keys_doc},
{"values",
METH_NOARGS,
bpy_bmlayercollection_values_doc},
{"items",
METH_NOARGS,
bpy_bmlayercollection_items_doc},
{"get", (PyCFunction)bpy_bmlayercollection_get, METH_VARARGS, bpy_bmlayercollection_get_doc},
{nullptr, nullptr, 0, nullptr},
}
static PyObject * bpy_bmlayercollection_keys(BPy_BMLayerCollection *self)
static PyObject * bpy_bmlayercollection_verify(BPy_BMLayerCollection *self)
static PyObject * bpy_bmlayercollection_new(BPy_BMLayerCollection *self, PyObject *args)
static PyObject * bpy_bmlayercollection_items(BPy_BMLayerCollection *self)
static PyObject * bpy_bmlayercollection_values(BPy_BMLayerCollection *self)
static PyObject * bpy_bmlayercollection_get(BPy_BMLayerCollection *self, PyObject *args)
static PyObject * bpy_bmlayercollection_remove(BPy_BMLayerCollection *self, BPy_BMLayerItem *value)

Definition at line 742 of file bmesh_py_types_customdata.cc.

Referenced by BPy_BM_init_types_customdata().

◆ bpy_bmlayeraccess_edge_getseters

PyGetSetDef bpy_bmlayeraccess_edge_getseters[]
static

Definition at line 265 of file bmesh_py_types_customdata.cc.

Referenced by BPy_BM_init_types_customdata().

◆ bpy_bmlayeraccess_face_getseters

PyGetSetDef bpy_bmlayeraccess_face_getseters[]
static

Definition at line 306 of file bmesh_py_types_customdata.cc.

Referenced by BPy_BM_init_types_customdata().

◆ bpy_bmlayeraccess_loop_getseters

PyGetSetDef bpy_bmlayeraccess_loop_getseters[]
static

Definition at line 349 of file bmesh_py_types_customdata.cc.

Referenced by BPy_BM_init_types_customdata().

◆ bpy_bmlayeraccess_vert_getseters

PyGetSetDef bpy_bmlayeraccess_vert_getseters[]
static

Definition at line 213 of file bmesh_py_types_customdata.cc.

Referenced by BPy_BM_init_types_customdata().

◆ BPy_BMLayerAccessEdge_Type

PyTypeObject BPy_BMLayerAccessEdge_Type

◆ BPy_BMLayerAccessFace_Type

PyTypeObject BPy_BMLayerAccessFace_Type

◆ BPy_BMLayerAccessLoop_Type

PyTypeObject BPy_BMLayerAccessLoop_Type

◆ BPy_BMLayerAccessVert_Type

PyTypeObject BPy_BMLayerAccessVert_Type

◆ bpy_bmlayercollection_as_mapping

PyMappingMethods bpy_bmlayercollection_as_mapping
static
Initial value:
= {
(objobjargproc) nullptr,
}
static PyObject * bpy_bmlayercollection_subscript(BPy_BMLayerCollection *self, PyObject *key)
static Py_ssize_t bpy_bmlayercollection_length(BPy_BMLayerCollection *self)

Definition at line 949 of file bmesh_py_types_customdata.cc.

Referenced by BPy_BM_init_types_customdata().

◆ bpy_bmlayercollection_as_sequence

PySequenceMethods bpy_bmlayercollection_as_sequence
static
Initial value:
= {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
}
static int bpy_bmlayercollection_contains(BPy_BMLayerCollection *self, PyObject *value)
static PyObject * bpy_bmlayercollection_subscript_int(BPy_BMLayerCollection *self, Py_ssize_t keynum)

Definition at line 935 of file bmesh_py_types_customdata.cc.

Referenced by BPy_BM_init_types_customdata().

◆ bpy_bmlayercollection_getseters

PyGetSetDef bpy_bmlayercollection_getseters[]
static
Initial value:
= {
{"active",
(setter) nullptr,
bpy_bmlayercollection_active_doc,
nullptr},
{"is_singleton",
(setter) nullptr,
bpy_bmlayercollection_is_singleton_doc,
nullptr},
{nullptr, nullptr, nullptr, nullptr, nullptr}
}
static PyObject * bpy_bmlayercollection_is_singleton_get(BPy_BMLayerItem *self, void *)
static PyObject * bpy_bmlayercollection_active_get(BPy_BMLayerItem *self, void *)

Definition at line 389 of file bmesh_py_types_customdata.cc.

Referenced by BPy_BM_init_types_customdata().

◆ BPy_BMLayerCollection_Type

PyTypeObject BPy_BMLayerCollection_Type

◆ bpy_bmlayeritem_getseters

PyGetSetDef bpy_bmlayeritem_getseters[]
static
Initial value:
= {
{"name",
(setter) nullptr,
bpy_bmlayercollection_name_doc,
nullptr},
{nullptr, nullptr, nullptr, nullptr, nullptr}
}
static PyObject * bpy_bmlayeritem_name_get(BPy_BMLayerItem *self, void *)

Definition at line 405 of file bmesh_py_types_customdata.cc.

Referenced by BPy_BM_init_types_customdata().

◆ bpy_bmlayeritem_methods

PyMethodDef bpy_bmlayeritem_methods[]
static
Initial value:
= {
{"copy_from", (PyCFunction)bpy_bmlayeritem_copy_from, METH_O, bpy_bmlayeritem_copy_from_doc},
{nullptr, nullptr, 0, nullptr},
}
static PyObject * bpy_bmlayeritem_copy_from(BPy_BMLayerItem *self, BPy_BMLayerItem *value)

Definition at line 732 of file bmesh_py_types_customdata.cc.

Referenced by BPy_BM_init_types_customdata().

◆ BPy_BMLayerItem_Type

PyTypeObject BPy_BMLayerItem_Type