Blender V5.3
blender::UvElementMap Struct Reference

#include <BKE_mesh_mapping.hh>

Public Attributes

UvElement * storage
int total_uvs
int total_unique_uvs
UvElement ** vertex
UvElement ** head_table
int * unique_index_table
int total_islands
int * island_indices
int * island_total_uvs
int * island_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 69 of file BKE_mesh_mapping.hh.

Member Data Documentation

◆ head_table

UvElement** blender::UvElementMap::head_table

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

Definition at line 81 of file BKE_mesh_mapping.hh.

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

◆ island_indices

◆ island_total_unique_uvs

int* blender::UvElementMap::island_total_unique_uvs

◆ island_total_uvs

◆ storage

◆ total_islands

int blender::UvElementMap::total_islands

◆ total_unique_uvs

int blender::UvElementMap::total_unique_uvs

Total number of unique UVs.

Definition at line 75 of file BKE_mesh_mapping.hh.

Referenced by blender::BM_uv_element_map_create(), and blender::BM_uv_element_map_ensure_unique_index().

◆ total_uvs

◆ unique_index_table

int* blender::UvElementMap::unique_index_table

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

Definition at line 84 of file BKE_mesh_mapping.hh.

Referenced by blender::BM_uv_element_map_ensure_unique_index(), and blender::BM_uv_element_map_free().

◆ vertex


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