Blender V5.3
extract_mesh_vbo_lnor.cc File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::draw

Functions

static Span< float3 > blender::draw::get_vert_normals (const MeshRenderData &mr)
template<typename GPUType>
static void blender::draw::extract_vert_normals_mesh (const MeshRenderData &mr, MutableSpan< GPUType > vert_data)
template<typename GPUType>
static void blender::draw::extract_vert_normals_bm (const MeshRenderData &mr, MutableSpan< GPUType > vert_data)
template<typename GPUType>
static void blender::draw::extract_face_normals_mesh (const MeshRenderData &mr, MutableSpan< GPUType > face_data)
template<typename GPUType>
static void blender::draw::extract_face_normals_bm (const MeshRenderData &mr, MutableSpan< GPUType > face_data)
template<typename GPUType>
static void blender::draw::extract_corner_normals_mesh (const MeshRenderData &mr, MutableSpan< GPUType > normals)
template<typename GPUType>
static void blender::draw::extract_corner_normals_bm (const MeshRenderData &mr, MutableSpan< GPUType > normals)
template<typename GPUType>
static gpu::VertBufPtr blender::draw::extract_normals (const MeshRenderData &mr, MeshBufferCache &cache, const GPUVertFormat &format)
gpu::VertBufPtr blender::draw::extract_normals (const MeshRenderData &mr, MeshBufferCache &cache, bool use_hq)
static const GPUVertFormat & blender::draw::get_normals_format ()
static void blender::draw::update_loose_normals (const MeshRenderData &mr, const DRWSubdivCache &subdiv_cache, gpu::VertBuf &lnor)
gpu::VertBufPtr blender::draw::extract_normals_subdiv (const MeshRenderData &mr, const DRWSubdivCache &subdiv_cache, gpu::VertBuf &pos)