home << prev next >> contents  


Color Profile Functions3.4

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()

3.4 returns the identifier associated with the current rendering color space.

    miUint1 mi_colorprofile_internalspace_id()

3.4 returns the identifier associated with the internal color space.

    miUint1 mi_colorprofile_ciexyz_id()

3.4 returns the identifier associated with the CIE XYZ color space.

    miBoolean mi_colorprofile_internal_to_render(
        miColor         *color)

3.4 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)

3.4 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)

3.4 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)

3.4 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)

3.4 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)

3.4 assumes that the given color is in CIE XYZ color space and transforms it in-place to the internal color space representation.

home << prev next >> contents  


Copyright © 1986-2007 by mental images GmbH