72 static constexpr int gpu_component_len = 2;
76 return int2(value.x, value.y);
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;
140 return float4(value.w, value.x, value.y, value.z);
constexpr int COMPONENT_LEN_SCALAR
draw_view in_light_buf[] float
draw_view push_constant(Type::INT, "radiance_src") .push_constant(Type capture_info_buf storage_buf(1, Qualifier::READ, "ObjectBounds", "bounds_buf[]") .push_constant(Type draw_view int
#define unit_float_to_ushort_clamp(val)
float BLI_color_from_srgb_table[256]
GPUVertFormat init_format_for_attribute(const eCustomDataType data_type, const StringRefNull vbo_name)
void vertbuf_data_extract_direct(const GSpan attribute, gpu::VertBuf &vbo)
VecBase< float, 4 > float4
VecBase< int32_t, 2 > int2
VecBase< float, 2 > float2
VecBase< int32_t, 3 > int3
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)