Blender  V3.3
Namespaces | Variables
extract_mesh_vbo_tan.cc File Reference
#include "MEM_guardedalloc.h"
#include "BLI_string.h"
#include "BKE_editmesh.h"
#include "BKE_editmesh_tangent.h"
#include "BKE_mesh.h"
#include "BKE_mesh_tangent.h"
#include "extract_mesh.hh"
#include "draw_subdivision.h"

Go to the source code of this file.

Namespaces

 blender
 
 blender::draw
 

Functions

Extract Tangent layers
static void blender::draw::extract_tan_init_common (const MeshRenderData *mr, MeshBatchCache *cache, GPUVertFormat *format, GPUVertCompType comp_type, GPUVertFetchMode fetch_mode, CustomData *r_loop_data, int *r_v_len, int *r_tan_len, char r_tangent_names[MAX_MTFACE][MAX_CUSTOMDATA_LAYER_NAME], bool *r_use_orco_tan)
 
static void blender::draw::extract_tan_ex_init (const MeshRenderData *mr, MeshBatchCache *cache, GPUVertBuf *vbo, const bool do_hq)
 
static void blender::draw::extract_tan_init (const MeshRenderData *mr, MeshBatchCache *cache, void *buf, void *UNUSED(tls_data))
 
static GPUVertFormatblender::draw::get_coarse_tan_format ()
 
static void blender::draw::extract_tan_init_subdiv (const DRWSubdivCache *subdiv_cache, const MeshRenderData *mr, MeshBatchCache *cache, void *buffer, void *UNUSED(data))
 
constexpr MeshExtract blender::draw::create_extractor_tan ()
 
Extract HQ Tangent layers
static void blender::draw::extract_tan_hq_init (const MeshRenderData *mr, MeshBatchCache *cache, void *buf, void *UNUSED(tls_data))
 
constexpr MeshExtract blender::draw::create_extractor_tan_hq ()
 

Variables

const MeshExtract extract_tan = blender::draw::create_extractor_tan()
 
const MeshExtract extract_tan_hq = blender::draw::create_extractor_tan_hq()
 

Variable Documentation

◆ extract_tan

Definition at line 370 of file extract_mesh_vbo_tan.cc.

Referenced by mesh_extract_override_hq_normals().

◆ extract_tan_hq

Definition at line 371 of file extract_mesh_vbo_tan.cc.

Referenced by mesh_extract_override_hq_normals().