Blender V4.3
UvElementMap Struct Reference

#include <BKE_mesh_mapping.hh>

Public Attributes

UvElementstorage
 
int total_uvs
 
int total_unique_uvs
 
UvElement ** vertex
 
UvElement ** head_table
 
intunique_index_table
 
int total_islands
 
intisland_indices
 
intisland_total_uvs
 
intisland_total_unique_uvs
 

Detailed Description

UvElementMap is a container for UvElements of a BMesh.

It simplifies access to UV information and ensures the different UV selection modes are respected.

If islands are calculated, it also stores UvElements belonging to the same uv island in sequence and the number of uvs per island.

Note
in C++, head_table and unique_index_table would be mutable, as they are created on demand, and never changed after creation.

Definition at line 67 of file BKE_mesh_mapping.hh.

Member Data Documentation

◆ head_table

UvElement** UvElementMap::head_table

If Non-NULL, pointer to local head of each unique UV.

Definition at line 79 of file BKE_mesh_mapping.hh.

Referenced by bm_uv_edge_select_build_islands(), BM_uv_element_map_ensure_head_table(), and BM_uv_element_map_free().

◆ island_indices

int* UvElementMap::island_indices

◆ island_total_unique_uvs

int* UvElementMap::island_total_unique_uvs

◆ island_total_uvs

int* UvElementMap::island_total_uvs

◆ storage

◆ total_islands

int UvElementMap::total_islands

◆ total_unique_uvs

int UvElementMap::total_unique_uvs

Total number of unique UVs.

Definition at line 73 of file BKE_mesh_mapping.hh.

Referenced by BM_uv_element_map_create(), and BM_uv_element_map_ensure_unique_index().

◆ total_uvs

◆ unique_index_table

int* UvElementMap::unique_index_table

If Non-NULL, pointer to index of each unique UV.

Definition at line 82 of file BKE_mesh_mapping.hh.

Referenced by BM_uv_element_map_ensure_unique_index(), and BM_uv_element_map_free().

◆ vertex

UvElement** UvElementMap::vertex

The documentation for this struct was generated from the following file: