Blender  V2.93
Functions
node_color.h File Reference

Go to the source code of this file.

Functions

float color_srgb_to_scene_linear (float c)
 
float color_scene_linear_to_srgb (float c)
 
color color_srgb_to_scene_linear (color c)
 
color color_scene_linear_to_srgb (color c)
 
color color_unpremultiply (color c, float alpha)
 
color xyY_to_xyz (float x, float y, float Y)
 
color xyz_to_rgb (float x, float y, float z)
 
color rgb_to_hsv (color rgb)
 
color hsv_to_rgb (color hsv)
 

Function Documentation

◆ color_scene_linear_to_srgb() [1/2]

color color_scene_linear_to_srgb ( color  c)

Definition at line 42 of file node_color.h.

References Freestyle::c, and color_scene_linear_to_srgb().

◆ color_scene_linear_to_srgb() [2/2]

float color_scene_linear_to_srgb ( float  c)

Definition at line 27 of file node_color.h.

References Freestyle::c, and KDL::pow().

Referenced by color_scene_linear_to_srgb().

◆ color_srgb_to_scene_linear() [1/2]

color color_srgb_to_scene_linear ( color  c)

Definition at line 35 of file node_color.h.

References Freestyle::c, and color_srgb_to_scene_linear().

◆ color_srgb_to_scene_linear() [2/2]

float color_srgb_to_scene_linear ( float  c)

Definition at line 19 of file node_color.h.

References Freestyle::c, and KDL::pow().

Referenced by color_srgb_to_scene_linear().

◆ color_unpremultiply()

color color_unpremultiply ( color  c,
float  alpha 
)

Definition at line 49 of file node_color.h.

References alpha, and Freestyle::c.

◆ hsv_to_rgb()

color hsv_to_rgb ( color  hsv)

Definition at line 124 of file node_color.h.

References floor(), t, and v.

◆ rgb_to_hsv()

color rgb_to_hsv ( color  rgb)

Definition at line 83 of file node_color.h.

References Freestyle::c, max, min, and v.

◆ xyY_to_xyz()

color xyY_to_xyz ( float  x,
float  y,
float  Y 
)

Definition at line 59 of file node_color.h.

References x, X, Y, y, and Z.

Referenced by sky_radiance_preetham().

◆ xyz_to_rgb()

color xyz_to_rgb ( float  x,
float  y,
float  z 
)

Definition at line 76 of file node_color.h.

References x, y, and z.