These routines may be used within shaders to transform their arguments from one color space to another or to identify the color spaces currently in use.
miUint1 mi_colorprofile_renderspace_id()
returns the identifier associated with the current rendering color space.
miUint1 mi_colorprofile_internalspace_id()
returns the identifier associated with the internal color space.
miUint1 mi_colorprofile_ciexyz_id()
returns the identifier associated with the CIE XYZ color space.
miBoolean mi_colorprofile_internal_to_render( miColor *color)
assumes that the given color is in internal color space and transforms it in-place to the rendering color space representation.
miBoolean mi_colorprofile_render_to_internal( miColor *color)
assumes that the given color is in rendering color space and transforms it in-place to the internal color space representation.
miBoolean mi_colorprofile_ciexyz_to_render( miColor *color)
assumes that the given color is in CIE XYZ color space and transforms it in-place to the rendering color space representation.
miBoolean mi_colorprofile_render_to_ciexyz( miColor *color)
assumes that the given color is in rendering color space and transforms it in-place to the CIE XYZ color space representation.
miBoolean mi_colorprofile_internal_to_ciexyz( miColor *color)
assumes that the given color is in internal color space and transforms it in-place to the CIE XYZ color space representation.
miBoolean mi_colorprofile_ciexyz_to_internal( miColor *color)
assumes that the given color is in CIE XYZ color space and transforms it in-place to the internal color space representation.
Copyright © 1986-2009 by mental images GmbH