Blender V4.5
GPU_attribute_convert.hh File Reference
#include <algorithm>
#include <limits>
#include "BLI_math_vector_types.hh"
#include "BLI_span.hh"

Go to the source code of this file.

Classes

struct  blender::gpu::PackedNormal
 

Namespaces

namespace  blender
 
namespace  blender::gpu
 

Functions

int blender::gpu::convert_normalized_f32_to_i10 (float x)
 
template<typename GPUType >
GPUType blender::gpu::convert_normal (const float3 &src)
 
template<>
PackedNormal 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)