Blender V5.0
extract_mesh_vbo_attributes.cc File Reference

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 StringRef name, const bke::AttrType type, 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 void blender::draw::extract_attribute_data (const MeshRenderData &mr, const BMDataLayerLookup &attr, gpu::VertBuf &vbo)
static void blender::draw::extract_attribute_data (const MeshRenderData &mr, const bke::GAttributeReader &attr, gpu::VertBuf &vbo)
gpu::VertBufPtr blender::draw::extract_attribute (const MeshRenderData &mr, StringRef name)
static gpu::VertBufPtr blender::draw::init_coarse_data (const bke::AttrType type, const int coarse_corners_num)
gpu::VertBufPtr blender::draw::extract_attribute_subdiv (const MeshRenderData &mr, const DRWSubdivCache &subdiv_cache, StringRef name)
gpu::VertBufPtr blender::draw::extract_attr_viewer (const MeshRenderData &mr)