5#ifndef __COLORSPACE_H__
6#define __COLORSPACE_H__
17class ColorSpaceProcessor;
25 const char *file_colorspace,
26 const char *file_format,
36 ustring colorspace,
T *pixels,
size_t num_pixels,
bool is_rgba,
bool compress_as_srgb);
41 static ColorSpaceProcessor *
get_processor(ustring colorspace);
54 static void is_builtin_colorspace(ustring colorspace,
bool &is_no_op,
bool &is_srgb);
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Brightness Control the brightness and contrast of the input color Vector Map input vector components with curves Camera Retrieve information about the camera and how it relates to the current shading point s position Clamp a value between a minimum and a maximum Vector Perform vector math operation Invert Invert a producing a negative Combine Generate a color from its and blue channels(Deprecated)") DefNode(ShaderNode
static bool colorspace_is_data(ustring colorspace)
static ustring detect_known_colorspace(ustring colorspace, const char *file_colorspace, const char *file_format, bool is_float)
static void to_scene_linear(ustring colorspace, T *pixels, size_t num_pixels, bool is_rgba, bool compress_as_srgb)
static void free_memory()
static ColorSpaceProcessor * get_processor(ustring colorspace)
static void init_fallback_config()
CCL_NAMESPACE_BEGIN ustring u_colorspace_auto
ustring u_colorspace_srgb
#define CCL_NAMESPACE_END