Blender V4.3
extract_mesh_vbo_attributes.cc File Reference
#include "MEM_guardedalloc.h"
#include "BLI_array_utils.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_string.h"
#include "BKE_attribute.hh"
#include "BKE_attribute_math.hh"
#include "BKE_mesh.hh"
#include "attribute_convert.hh"
#include "draw_attributes.hh"
#include "draw_cache_inline.hh"
#include "draw_subdivision.hh"
#include "extract_mesh.hh"
#include "GPU_vertex_buffer.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::draw
 

Functions

Extract Attributes
static void blender::draw::init_vbo_for_attribute (const MeshRenderData &mr, gpu::VertBuf &vbo, const DRW_AttributeRequest &request, bool build_on_device, uint32_t len)
 
template<typename T >
static void blender::draw::extract_data_mesh_mapped_corner (const Span< T > attribute, const Span< int > indices, gpu::VertBuf &vbo)
 
template<typename T >
static void blender::draw::extract_data_mesh_face (const OffsetIndices< int > faces, const Span< T > attribute, gpu::VertBuf &vbo)
 
template<typename T >
static void blender::draw::extract_data_bmesh_vert (const BMesh &bm, const int cd_offset, gpu::VertBuf &vbo)
 
template<typename T >
static void blender::draw::extract_data_bmesh_edge (const BMesh &bm, const int cd_offset, gpu::VertBuf &vbo)
 
template<typename T >
static void blender::draw::extract_data_bmesh_face (const BMesh &bm, const int cd_offset, gpu::VertBuf &vbo)
 
template<typename T >
static void blender::draw::extract_data_bmesh_loop (const BMesh &bm, const int cd_offset, gpu::VertBuf &vbo)
 
static const CustomDatablender::draw::get_custom_data_for_domain (const BMesh &bm, bke::AttrDomain domain)
 
static void blender::draw::extract_attribute (const MeshRenderData &mr, const DRW_AttributeRequest &request, gpu::VertBuf &vbo)
 
void blender::draw::extract_attributes (const MeshRenderData &mr, const Span< DRW_AttributeRequest > requests, const Span< gpu::VertBuf * > vbos)
 
void blender::draw::extract_attributes_subdiv (const MeshRenderData &mr, const DRWSubdivCache &subdiv_cache, const Span< DRW_AttributeRequest > requests, const Span< gpu::VertBuf * > vbos)
 
void blender::draw::extract_attr_viewer (const MeshRenderData &mr, gpu::VertBuf &vbo)