Blender  V3.3
Functions
extract_mesh.cc File Reference

Extraction of Mesh data into VBO to feed to GPU. More...

#include "MEM_guardedalloc.h"
#include "DNA_object_types.h"
#include "ED_uvedit.h"
#include "extract_mesh.hh"
#include "draw_cache_impl.h"

Go to the source code of this file.

Functions

voidmesh_extract_buffer_get (const MeshExtract *extractor, MeshBufferList *mbuflist)
 
eMRIterType mesh_extract_iter_type (const MeshExtract *ext)
 
Override extractors

Extractors can be overridden. When overridden a specialized version is used. The next functions would check for any needed overrides and usage of the specialized version.

static const MeshExtractmesh_extract_override_hq_normals (const MeshExtract *extractor)
 
static const MeshExtractmesh_extract_override_single_material (const MeshExtract *extractor)
 
const MeshExtractmesh_extract_override_get (const MeshExtract *extractor, const bool do_hq_normals, const bool do_single_mat)
 
Extract Edit Flag Utils
void mesh_render_data_face_flag (const MeshRenderData *mr, const BMFace *efa, const int cd_ofs, EditLoopData *eattr)
 
void mesh_render_data_loop_flag (const MeshRenderData *mr, BMLoop *l, const int cd_ofs, EditLoopData *eattr)
 
void mesh_render_data_loop_edge_flag (const MeshRenderData *mr, BMLoop *l, const int cd_ofs, EditLoopData *eattr)
 

Detailed Description

Extraction of Mesh data into VBO to feed to GPU.

Definition in file extract_mesh.cc.

Function Documentation

◆ mesh_extract_buffer_get()

void* mesh_extract_buffer_get ( const MeshExtract extractor,
MeshBufferList mbuflist 
)

◆ mesh_extract_iter_type()

eMRIterType mesh_extract_iter_type ( const MeshExtract ext)

◆ mesh_extract_override_get()

const MeshExtract* mesh_extract_override_get ( const MeshExtract extractor,
const bool  do_hq_normals,
const bool  do_single_mat 
)

◆ mesh_extract_override_hq_normals()

static const MeshExtract* mesh_extract_override_hq_normals ( const MeshExtract extractor)
static

◆ mesh_extract_override_single_material()

static const MeshExtract* mesh_extract_override_single_material ( const MeshExtract extractor)
static

Definition at line 63 of file extract_mesh.cc.

References extract_tris, and extract_tris_single_mat.

Referenced by mesh_extract_override_get().

◆ mesh_render_data_face_flag()

void mesh_render_data_face_flag ( const MeshRenderData mr,
const BMFace efa,
const int  cd_ofs,
EditLoopData eattr 
)

◆ mesh_render_data_loop_edge_flag()

void mesh_render_data_loop_edge_flag ( const MeshRenderData mr,
BMLoop l,
const int  cd_ofs,
EditLoopData eattr 
)

◆ mesh_render_data_loop_flag()

void mesh_render_data_loop_flag ( const MeshRenderData mr,
BMLoop l,
const int  cd_ofs,
EditLoopData eattr 
)