Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-05 14:14:37 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-06 13:05:44 +0300
commit2c0da4a3db96d4aeeeec1cfba4a0a9f5bf0fa970 (patch)
treecf6ee2d2b9b123035bdfbfa7936713b48a5a4f65 /intern/opencolorio/ocio_capi.h
parent8794779a2dd5744e9fd069361d3774d2b546fda1 (diff)
Color management: add functions to detect scene linear and sRGB color spaces
Same as the ones in Cycles, but intended for GPU textures.
Diffstat (limited to 'intern/opencolorio/ocio_capi.h')
-rw-r--r--intern/opencolorio/ocio_capi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/opencolorio/ocio_capi.h b/intern/opencolorio/ocio_capi.h
index 9af302647a3..f4d7717ba46 100644
--- a/intern/opencolorio/ocio_capi.h
+++ b/intern/opencolorio/ocio_capi.h
@@ -130,6 +130,10 @@ int OCIO_configGetIndexForColorSpace(OCIO_ConstConfigRcPtr *config, const char *
int OCIO_colorSpaceIsInvertible(OCIO_ConstColorSpaceRcPtr *cs);
int OCIO_colorSpaceIsData(OCIO_ConstColorSpaceRcPtr *cs);
+void OCIO_colorSpaceIsBuiltin(OCIO_ConstConfigRcPtr *config,
+ OCIO_ConstColorSpaceRcPtr *cs,
+ bool *is_scene_linear,
+ bool *is_srgb);
void OCIO_colorSpaceRelease(OCIO_ConstColorSpaceRcPtr *cs);