Changeset View
Changeset View
Standalone View
Standalone View
source/blender/bmesh/intern/bmesh_operator_api.h
| Show First 20 Lines • Show All 477 Lines • ▼ Show 20 Lines | |||||
| /* puts every element of type 'type' (which is a bitmask) without | /* puts every element of type 'type' (which is a bitmask) without | ||||
| * header flag 'flag', into a slot. note: ignores hidden elements | * header flag 'flag', into a slot. note: ignores hidden elements | ||||
| * (e.g. elements with header flag BM_ELEM_HIDDEN set).*/ | * (e.g. elements with header flag BM_ELEM_HIDDEN set).*/ | ||||
| void BMO_slot_buffer_from_disabled_hflag( | void BMO_slot_buffer_from_disabled_hflag( | ||||
| BMesh *bm, BMOperator *op, | BMesh *bm, BMOperator *op, | ||||
| BMOpSlot slot_args[BMO_OP_MAX_SLOTS], const char *slot_name, | BMOpSlot slot_args[BMO_OP_MAX_SLOTS], const char *slot_name, | ||||
| const char htype, const char hflag); | const char htype, const char hflag); | ||||
| /* puts every element of type 'type' (which is a bitmask) with header | |||||
| * flag 'flag', into a slot which is extended. | |||||
| * note: ignores hidden elements | |||||
| * (e.g. elements with header flag BM_ELEM_HIDDEN set).*/ | |||||
| void BMO_slot_buffer_from_enabled_hflag_extend( | |||||
| BMesh *bm, BMOperator *op, | |||||
| BMOpSlot slot_args[BMO_OP_MAX_SLOTS], const char *slot_name, | |||||
| const char htype, const char hflag); | |||||
| /* puts every element of type 'type' (which is a bitmask) without | |||||
| * header flag 'flag', into a slot which is extended. | |||||
| * note: ignores hidden elements | |||||
| * (e.g. elements with header flag BM_ELEM_HIDDEN set).*/ | |||||
| void BMO_slot_buffer_from_disabled_hflag_extend( | |||||
| BMesh *bm, BMOperator *op, | |||||
| BMOpSlot slot_args[BMO_OP_MAX_SLOTS], const char *slot_name, | |||||
| const char htype, const char hflag); | |||||
| void BMO_slot_buffer_from_array(BMOperator *op, BMOpSlot *slot, BMHeader **ele_buffer, int ele_buffer_len); | void BMO_slot_buffer_from_array(BMOperator *op, BMOpSlot *slot, BMHeader **ele_buffer, int ele_buffer_len); | ||||
| void BMO_slot_buffer_from_single(BMOperator *op, BMOpSlot *slot, BMHeader *ele); | void BMO_slot_buffer_from_single(BMOperator *op, BMOpSlot *slot, BMHeader *ele); | ||||
| void *BMO_slot_buffer_get_single(BMOpSlot *slot); | void *BMO_slot_buffer_get_single(BMOpSlot *slot); | ||||
| /* counts number of elements inside a slot array. */ | /* counts number of elements inside a slot array. */ | ||||
| int BMO_slot_buffer_count(BMOpSlot slot_args[BMO_OP_MAX_SLOTS], const char *slot_name); | int BMO_slot_buffer_count(BMOpSlot slot_args[BMO_OP_MAX_SLOTS], const char *slot_name); | ||||
| ▲ Show 20 Lines • Show All 99 Lines • Show Last 20 Lines | |||||