72 static constexpr int gpu_component_len = 2;
92 static constexpr int gpu_component_len = 2;
102 static constexpr int gpu_component_len = 3;
113 static constexpr int gpu_component_len = 4;
126 static constexpr int gpu_component_len = 4;
136 static constexpr int gpu_component_len = 4;
constexpr int COMPONENT_LEN_SCALAR
MINLINE unsigned short unit_float_to_ushort_clamp(float val)
float BLI_color_from_srgb_table[256]
void vertbuf_data_extract_direct(const GSpan attribute, gpu::VertBuf &vbo)
GPUVertFormat init_format_for_attribute(const eCustomDataType data_type, const StringRef vbo_name)
VecBase< float, 4 > float4
VecBase< float, 2 > float2
ColorSceneLinear4f< eAlpha::Premultiplied > ColorGeometry4f
blender::VecBase< uint16_t, 4 > ushort4
VecBase< float, 3 > float3
static VBOType convert(const ColorGeometry4b &value)
static VBOType convert(const ColorGeometry4f &value)
static VBOType convert(const bool &value)
static VBOType convert(const float2 &value)
static VBOType convert(const float3 &value)
static VBOType convert(const float &value)
static VBOType convert(const int2 &value)
static VBOType convert(const int8_t &value)
static VBOType convert(const int &value)
static VBOType convert(const math::Quaternion &value)