Blender  V3.3
Namespaces | Variables
extract_mesh_vbo_edituv_stretch_area.cc File Reference
#include "MEM_guardedalloc.h"
#include "BKE_mesh.h"
#include "extract_mesh.hh"
#include "draw_subdivision.h"

Go to the source code of this file.

Namespaces

 blender
 
 blender::draw
 

Functions

Extract Edit UV area stretch
static void blender::draw::extract_edituv_stretch_area_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *UNUSED(tls_data))
 
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 void blender::draw::compute_area_ratio (const MeshRenderData *mr, float *r_area_ratio, float &r_tot_area, float &r_tot_uv_area)
 
static void blender::draw::extract_edituv_stretch_area_finish (const MeshRenderData *mr, MeshBatchCache *cache, void *buf, void *UNUSED(data))
 
static void blender::draw::extract_edituv_stretch_area_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, MeshBatchCache *cache, void *buffer, void *UNUSED(data))
 
constexpr MeshExtract blender::draw::create_extractor_edituv_stretch_area ()
 

Variables

const MeshExtract extract_edituv_stretch_area
 

Variable Documentation

◆ extract_edituv_stretch_area

const MeshExtract extract_edituv_stretch_area