Blender  V3.3
Classes | Namespaces | Variables
extract_mesh_vbo_edge_fac.cc File Reference
#include "MEM_guardedalloc.h"
#include "GPU_capabilities.h"
#include "draw_subdivision.h"
#include "extract_mesh.hh"

Go to the source code of this file.

Classes

struct  blender::draw::MeshExtract_EdgeFac_Data
 

Namespaces

 blender
 
 blender::draw
 

Functions

Extract Edge Factor

Defines how much an edge is visible.

static float blender::draw::loop_edge_factor_get (const float f_no[3], const float v_co[3], const float v_no[3], const float v_next_co[3])
 
static void blender::draw::extract_edge_fac_init (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *tls_data)
 
static void blender::draw::extract_edge_fac_iter_poly_bm (const MeshRenderData *mr, const BMFace *f, const int UNUSED(f_index), void *_data)
 
static void blender::draw::extract_edge_fac_iter_poly_mesh (const MeshRenderData *mr, const MPoly *mp, const int mp_index, void *_data)
 
static void blender::draw::extract_edge_fac_iter_ledge_bm (const MeshRenderData *mr, const BMEdge *UNUSED(eed), const int ledge_index, void *_data)
 
static void blender::draw::extract_edge_fac_iter_ledge_mesh (const MeshRenderData *mr, const MEdge *UNUSED(med), const int ledge_index, void *_data)
 
static void blender::draw::extract_edge_fac_finish (const MeshRenderData *mr, MeshBatchCache *UNUSED(cache), void *buf, void *_data)
 
static GPUVertFormatblender::draw::get_subdiv_edge_fac_format ()
 
static void blender::draw::extract_edge_fac_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), MeshBatchCache *cache, void *buffer, void *UNUSED(data))
 
static void blender::draw::extract_edge_fac_loose_geom_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *UNUSED(mr), void *buffer, void *UNUSED(data))
 
constexpr MeshExtract blender::draw::create_extractor_edge_fac ()
 

Variables

const MeshExtract extract_edge_fac = blender::draw::create_extractor_edge_fac()
 

Variable Documentation

◆ extract_edge_fac

Definition at line 306 of file extract_mesh_vbo_edge_fac.cc.