Blender V4.3
extract_mesh_vbo_edituv_stretch_area.cc File Reference
#include "BLI_math_vector_types.hh"
#include "MEM_guardedalloc.h"
#include "BKE_attribute.hh"
#include "BKE_mesh.hh"
#include "extract_mesh.hh"
#include "draw_subdivision.hh"

Go to the source code of this file.

Classes

struct  blender::draw::AreaInfo
 

Namespaces

namespace  blender
 
namespace  blender::draw
 

Functions

BLI_INLINE float blender::draw::area_ratio_get (float area, float uvarea)
 
BLI_INLINE float blender::draw::area_ratio_to_stretch (float ratio, float tot_ratio)
 
static AreaInfo blender::draw::compute_area_ratio (const MeshRenderData &mr, MutableSpan< float > r_area_ratio)
 
void blender::draw::extract_edituv_stretch_area (const MeshRenderData &mr, gpu::VertBuf &vbo, float &tot_area, float &tot_uv_area)
 
void blender::draw::extract_edituv_stretch_area_subdiv (const MeshRenderData &mr, const DRWSubdivCache &subdiv_cache, gpu::VertBuf &vbo, float &tot_area, float &tot_uv_area)