|
Blender V5.0
|
#include <attribute_convert.hh>
Public Types | |
| using | VBOType = ushort4 |
Static Public Member Functions | |
| static VBOType | convert (const ColorGeometry4b &value) |
Static Public Attributes | |
| static constexpr GPUVertCompType | gpu_component_type = GPU_COMP_U16 |
| static constexpr int | gpu_component_len = 4 |
| static constexpr GPUVertFetchMode | gpu_fetch_mode = GPU_FETCH_INT_TO_FLOAT_UNIT |
Definition at line 114 of file attribute_convert.hh.
| using blender::draw::AttributeConverter< ColorGeometry4b >::VBOType = ushort4 |
Definition at line 116 of file attribute_convert.hh.
|
inlinestatic |
Definition at line 120 of file attribute_convert.hh.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, BLI_color_from_srgb_table, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, IMB_colormanagement_rec709_to_scene_linear(), blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r, and unit_float_to_ushort_clamp().
|
staticconstexpr |
Definition at line 118 of file attribute_convert.hh.
|
staticconstexpr |
Definition at line 117 of file attribute_convert.hh.
|
staticconstexpr |
Definition at line 119 of file attribute_convert.hh.