Blender V5.3
extract_mesh_vbo_attributes.cc File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::draw

Functions

Extract Attributes
static GPUVertFormat blender::draw::attribute_vbo_format (const MeshRenderData &mr, const StringRef name, const bke::AttrType type)
static gpu::VertBufPtr blender::draw::vbo_create (const GPUVertFormat &format, const int size)
static int blender::draw::domain_size (const MeshRenderData &mr, const bke::AttrDomain domain)
static gpu::VertBufPtr blender::draw::copy_to_corners_gpu (const MeshRenderData &mr, MeshBufferCache &cache, const bke::AttrDomain domain, gpu::VertBuf &src, const GPUVertFormat &format)
static void blender::draw::extract_data_bmesh (const MeshRenderData &mr, const BMDataLayerLookup &attr, gpu::VertBuf &vbo)
static gpu::VertBufPtr blender::draw::extract_attribute_data (const MeshRenderData &mr, MeshBufferCache &cache, const BMDataLayerLookup &attr, const GPUVertFormat &format)
static gpu::VertBufPtr blender::draw::extract_attribute_data (const MeshRenderData &mr, MeshBufferCache &cache, const bke::GAttributeReader &attr, const GPUVertFormat &format)
gpu::VertBufPtr blender::draw::extract_attribute (const MeshRenderData &mr, MeshBufferCache &cache, StringRef name)
gpu::VertBufPtr blender::draw::extract_attribute_subdiv (const MeshRenderData &mr, MeshBufferCache &cache, const DRWSubdivCache &subdiv_cache, StringRef name)
gpu::VertBufPtr blender::draw::extract_attr_viewer (const MeshRenderData &mr, MeshBufferCache &cache)