|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| void | BLI_bitmap_set_all (BLI_bitmap *bitmap, bool set, size_t bits) |
| void | BLI_bitmap_flip_all (BLI_bitmap *bitmap, size_t bits) |
| void | BLI_bitmap_copy_all (BLI_bitmap *dst, const BLI_bitmap *src, size_t bits) |
| void | BLI_bitmap_and_all (BLI_bitmap *dst, const BLI_bitmap *src, size_t bits) |
| void | BLI_bitmap_or_all (BLI_bitmap *dst, const BLI_bitmap *src, size_t bits) |
Utility functions for variable size bit-masks.
Definition in file bitmap.c.
| void BLI_bitmap_and_all | ( | BLI_bitmap * | dst, |
| const BLI_bitmap * | src, | ||
| size_t | bits | ||
| ) |
Combine two bitmaps with boolean AND.
Definition at line 54 of file bitmap.c.
References _BITMAP_NUM_BLOCKS.
| void BLI_bitmap_copy_all | ( | BLI_bitmap * | dst, |
| const BLI_bitmap * | src, | ||
| size_t | bits | ||
| ) |
Copy all bits from one bitmap to another.
Definition at line 48 of file bitmap.c.
References BLI_BITMAP_SIZE.
| void BLI_bitmap_flip_all | ( | BLI_bitmap * | bitmap, |
| size_t | bits | ||
| ) |
Invert all bits in the bitmap.
Definition at line 39 of file bitmap.c.
References _BITMAP_NUM_BLOCKS.
| void BLI_bitmap_or_all | ( | BLI_bitmap * | dst, |
| const BLI_bitmap * | src, | ||
| size_t | bits | ||
| ) |
Combine two bitmaps with boolean OR.
Definition at line 63 of file bitmap.c.
References _BITMAP_NUM_BLOCKS.
| void BLI_bitmap_set_all | ( | BLI_bitmap * | bitmap, |
| bool | set, | ||
| size_t | bits | ||
| ) |
Set or clear all bits in the bitmap.
Definition at line 33 of file bitmap.c.
References BLI_BITMAP_SIZE.
Referenced by BKE_mesh_remap_calc_loops_from_mesh(), BKE_sculpt_sync_face_sets_visibility_to_grids(), BLI_astar_graph_solve(), DRW_sparse_uniform_buffer_clear(), EEVEE_shadows_cache_init(), EEVEE_shadows_update(), gpencil_layer_cache_add(), lib_relocate_do(), loose_verts_map_get(), mesh_normals_loop_custom_set(), nla_eval_domain_action(), nlasnapshot_enable_all_blend_domain(), nlasnapshot_from_action(), SCULPT_geodesic_mesh_create(), subdiv_foreach_ctx_init(), and wm_link_do().