Blender V4.3
AttributeConverter< blender::ColorGeometry4b > Struct Reference

#include <attribute_convert.h>

Public Types

using CyclesT = float4
 

Static Public Member Functions

static CyclesT convert (const blender::ColorGeometry4b &value)
 

Static Public Attributes

static constexpr auto type_desc = TypeRGBA
 

Detailed Description

Definition at line 63 of file attribute_convert.h.

Member Typedef Documentation

◆ CyclesT

using AttributeConverter< blender::ColorGeometry4b >::CyclesT = float4

Definition at line 64 of file attribute_convert.h.

Member Function Documentation

◆ convert()

static CyclesT AttributeConverter< blender::ColorGeometry4b >::convert ( const blender::ColorGeometry4b & value)
inlinestatic

Definition at line 66 of file attribute_convert.h.

References byte_to_float(), color_srgb_to_linear_v4(), and make_float4().

Member Data Documentation

◆ type_desc

auto AttributeConverter< blender::ColorGeometry4b >::type_desc = TypeRGBA
staticconstexpr

Definition at line 65 of file attribute_convert.h.


The documentation for this struct was generated from the following file: