81 return float2(value.x, value.y);
149 return float4(value.
w, value.
x, value.
y, value.
z);
BLI_INLINE void IMB_colormanagement_rec709_to_scene_linear(float scene_linear[3], const float rec709[3])
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 bke::AttrType data_type, const StringRef vbo_name)
QuaternionBase< float > Quaternion
VecBase< float, 4 > float4
VecBase< int32_t, 2 > int2
VecBase< float, 2 > float2
ColorSceneLinear4f< eAlpha::Premultiplied > ColorGeometry4f
blender::VecBase< uint16_t, 4 > ushort4
VecBase< float, 3 > float3
ColorSceneLinearByteEncoded4b< eAlpha::Premultiplied > ColorGeometry4b
static constexpr GPUVertFetchMode gpu_fetch_mode
static constexpr int gpu_component_len
static VBOType convert(const ColorGeometry4b &value)
static constexpr GPUVertCompType gpu_component_type
static constexpr GPUVertFetchMode gpu_fetch_mode
static constexpr GPUVertCompType gpu_component_type
static constexpr int gpu_component_len
static VBOType convert(const ColorGeometry4f &value)
static constexpr int gpu_component_len
VecBase< float, COMPONENT_LEN_SCALAR > VBOType
static constexpr GPUVertCompType gpu_component_type
static constexpr GPUVertFetchMode gpu_fetch_mode
static VBOType convert(const bool &value)
static VBOType convert(const float2 &value)
static constexpr GPUVertCompType gpu_component_type
static constexpr int gpu_component_len
static constexpr GPUVertFetchMode gpu_fetch_mode
static constexpr int gpu_component_len
static VBOType convert(const float3 &value)
static constexpr GPUVertFetchMode gpu_fetch_mode
static constexpr GPUVertCompType gpu_component_type
VecBase< float, COMPONENT_LEN_SCALAR > VBOType
static constexpr GPUVertFetchMode gpu_fetch_mode
static constexpr int gpu_component_len
static constexpr GPUVertCompType gpu_component_type
static VBOType convert(const float &value)
static constexpr int gpu_component_len
static constexpr GPUVertCompType gpu_component_type
static VBOType convert(const int2 &value)
static constexpr GPUVertFetchMode gpu_fetch_mode
VecBase< float, COMPONENT_LEN_SCALAR > VBOType
static VBOType convert(const int8_t &value)
static constexpr int gpu_component_len
static constexpr GPUVertFetchMode gpu_fetch_mode
static constexpr GPUVertCompType gpu_component_type
static constexpr int gpu_component_len
static constexpr GPUVertCompType gpu_component_type
VecBase< float, COMPONENT_LEN_SCALAR > VBOType
static VBOType convert(const int &value)
static constexpr GPUVertFetchMode gpu_fetch_mode
static constexpr int gpu_component_len
static constexpr GPUVertCompType gpu_component_type
static constexpr GPUVertFetchMode gpu_fetch_mode
static VBOType convert(const math::Quaternion &value)