API for writing color managers. More...
Go to the source code of this file.
Data Structures | |
| struct | AtChannelLayout |
| struct | AtColorManagerNodeMethods |
| Color Manager Node methods structure. More... | |
Macros | |
| #define | AI_COLOR_MANAGER_NODE_EXPORT_METHODS(tag) |
| Color manager node methods exporter. More... | |
Node Method Declarations | |
| #define | color_manager_transform |
| Color Manager's color_manager_transform method declaration. More... | |
| #define | color_manager_get_defaults static void ColorManagerGetDefaults(AtNode* node, AtString &sRGB, AtString &linear) |
| Color Manager's color_manager_get_defaults method declaration. More... | |
| #define | color_manager_get_chromaticities static bool ColorManagerGetChromaticities(AtNode* node, AtString space, float *chromaticities) |
| Color Manager's color_manager_get_chromaticities method declaration. More... | |
| #define | color_manager_get_custom_attributes static void ColorManagerGetCustomAttributes(AtNode* node, AtString space, int &num, const char **attributes) |
| Color Manager's color_manager_get_custom_attributes method declaration. | |
| #define | color_manager_get_num_color_spaces static int ColorManagerGetNumColorSpaces(AtNode *node, AtString family) |
| Color Manager's color_manager_get_num_color_spaces method declaration. More... | |
| #define | color_manager_get_color_space_name_by_index static AtString ColorManagerGetColorSpaceNameByIndex(AtNode *node, int i, AtString family) |
| Color Manager's color_manager_get_color_space_name_by_index method declaration. More... | |
| #define | color_manager_get_num_families |
| Color Manager's color_manager_get_num_families method declaration. More... | |
| #define | color_manager_get_family_name_by_index |
| Color Manager's color_manager_get_family_name_by_index method declaration. More... | |
| #define | color_manager_color_space_is_linear |
| Color Manager's color_manager_color_space_is_linear method declaration. More... | |
| AI_API bool | AiColorManagerTransform (AtNode *node, AtString name, bool is_output=true, bool dither=false, const AtBBox2 *roi=NULL, void *src=NULL, const AtChannelLayout *src_layout=NULL, void *dst=NULL, const AtChannelLayout *dst_layout=NULL) |
| Transform to or from the specified color space. More... | |
| AI_API void | AiColorManagerGetDefaults (AtNode *node, AtString &sRGB, AtString &linear) |
| Get the default linear color space used for rendering and for narrow image formats IO. More... | |
| AI_API bool | AiColorManagerGetChromaticities (AtNode *node, AtString space, float *chromaticities) |
| Get the chromaticities for a color space. More... | |
| AI_API void | AiColorManagerGetCustomAttributes (AtNode *node, AtString space, int &num, const char **attributes) |
| Get custom attributes to include in output file for the given color space, this includes ICC profile, etc... More... | |
| AI_API int | AiColorManagerGetNumColorSpaces (AtNode *node, AtString family=AtString()) |
| Get how many color spaces are available (for a "family" if specified) More... | |
| AI_API AtString | AiColorManagerGetColorSpaceNameByIndex (AtNode *node, int i, AtString family=AtString()) |
| Get the name of a color space by index (for a "family" if specified) More... | |
| AI_API int | AiColorManagerGetNumFamilies (AtNode *node) |
| Get how many color space families are available. More... | |
| AI_API AtString | AiColorManagerGetFamilyNameByIndex (AtNode *node, int i) |
| Get the name of a color space family by index. More... | |
| AI_API bool | AiColorManagerColorSpaceIsLinear (AtNode *node, AtString cs) |
| Return if a given color space is linear according to the color manager. More... | |
API for writing color managers.