4 #ifndef __COLORSPACE_H__
5 #define __COLORSPACE_H__
16 class ColorSpaceProcessor;
24 const char *file_format,
34 ustring colorspace,
T *pixels,
size_t num_pixels,
bool is_rgba,
bool compress_as_srgb);
39 static ColorSpaceProcessor *
get_processor(ustring colorspace);
46 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 Bright Control the brightness and contrast of the input color Vector Map an input vectors to used to fine tune the interpolation of the input 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 a producing a negative Combine Generate a color from its and blue channels(Deprecated)") DefNode(ShaderNode
static bool colorspace_is_data(ustring colorspace)
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 ustring detect_known_colorspace(ustring colorspace, const char *file_format, bool is_float)
ustring u_colorspace_srgb
CCL_NAMESPACE_BEGIN ustring u_colorspace_auto
#define CCL_NAMESPACE_END
ccl_gpu_kernel_postfix ccl_global float int num_pixels