Blender V5.0
extract_mesh_vbo_lnor.cc File Reference

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::draw

Functions

template<typename GPUType>
static void blender::draw::extract_vert_normals (const Span< int > corner_verts, const Span< float3 > vert_normals, MutableSpan< GPUType > normals)
template<typename GPUType>
static void blender::draw::extract_face_normals (const MeshRenderData &mr, MutableSpan< GPUType > normals)
template<typename GPUType>
static void blender::draw::extract_normals_mesh (const MeshRenderData &mr, MutableSpan< GPUType > normals)
template<typename GPUType>
static void blender::draw::extract_vert_normals_bm (const MeshRenderData &mr, MutableSpan< GPUType > normals)
template<typename GPUType>
static void blender::draw::extract_face_normals_bm (const MeshRenderData &mr, MutableSpan< GPUType > normals)
template<typename GPUType>
static void blender::draw::extract_normals_bm (const MeshRenderData &mr, MutableSpan< GPUType > normals)
gpu::VertBufPtr blender::draw::extract_normals (const MeshRenderData &mr, bool use_hq)
static const GPUVertFormatblender::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)