Blender V5.3
GPU_attribute_convert.hh File Reference
#include <algorithm>
#include <limits>
#include "BLI_normalized_int_types.hh"
#include "BLI_span.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::gpu

Functions

template<typename GPUType>
GPUType blender::gpu::convert_normal (const float3 &src)
template<>
int1010102_norm blender::gpu::convert_normal (const float3 &src)
template<>
short4 blender::gpu::convert_normal (const float3 &src)
template<typename GPUType>
void blender::gpu::convert_normals (Span< float3 > src, MutableSpan< GPUType > dst)