Blender
V3.3
|
Static Public Member Functions | |
static gpuMeshCol | convert_value (ColorGeometry4b value) |
Definition at line 78 of file extract_mesh_vbo_attributes.cc.
|
inlinestatic |
Definition at line 79 of file extract_mesh_vbo_attributes.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, BLI_color_from_srgb_table, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r, result, and unit_float_to_ushort_clamp().