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:
authorJeroen Bakker <jeroen@blender.org>2021-03-02 12:14:10 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-02 12:14:10 +0300
commit8dec6452f22013ee98246ea6d7631c2201a6de3a (patch)
tree4f16308508f8f76654c796483de7fc2d547c0a21 /source/blender/blenkernel/BKE_cryptomatte.h
parentc4ef90f5a0b1d05b16187eb6e32323defe6461c0 (diff)
Cryptomatte: Session from Existing Render Result.
Utility to construct a cryptomatte session from a render result or openexr file. This will allow D3959 to be more aware of the context it is working on and would also support external render engines in the cryptomatte color picker.
Diffstat (limited to 'source/blender/blenkernel/BKE_cryptomatte.h')
-rw-r--r--source/blender/blenkernel/BKE_cryptomatte.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_cryptomatte.h b/source/blender/blenkernel/BKE_cryptomatte.h
index 8428b5287c1..96e853e7ff8 100644
--- a/source/blender/blenkernel/BKE_cryptomatte.h
+++ b/source/blender/blenkernel/BKE_cryptomatte.h
@@ -38,6 +38,8 @@ struct Object;
struct RenderResult;
struct CryptomatteSession *BKE_cryptomatte_init(void);
+struct CryptomatteSession *BKE_cryptomatte_init_from_render_result(
+ const struct RenderResult *render_result);
void BKE_cryptomatte_free(struct CryptomatteSession *session);
void BKE_cryptomatte_add_layer(struct CryptomatteSession *session, const char *layer_name);