Blender V5.0
extract_mesh_ibo_tris.cc File Reference
#include "BKE_editmesh.hh"
#include "BLI_math_geom.h"
#include "GPU_index_buffer.hh"
#include "extract_mesh.hh"
#include "draw_subdivision.hh"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::draw

Functions

static gpu::IndexBufPtr blender::draw::extract_tris_mesh (const MeshRenderData &mr, const SortedFaceData &face_sorted)
static gpu::IndexBufPtr blender::draw::extract_tris_bmesh (const MeshRenderData &mr, const SortedFaceData &face_sorted)
void blender::draw::create_material_subranges (const SortedFaceData &face_sorted, gpu::IndexBuf &tris_ibo, MutableSpan< gpu::IndexBufPtr > ibos)
gpu::IndexBufPtr blender::draw::extract_tris (const MeshRenderData &mr, const SortedFaceData &face_sorted)
gpu::IndexBufPtr blender::draw::extract_tris_subdiv (const DRWSubdivCache &subdiv_cache, MeshBatchCache &cache)