|
Blender V4.3
|
Go to the source code of this file.
| void BKE_cryptomatte_add_layer | ( | struct CryptomatteSession * | session, |
| const char * | layer_name ) |
Definition at line 195 of file cryptomatte.cc.
References CryptomatteSession::add_layer().
| uint32_t BKE_cryptomatte_asset_hash | ( | struct CryptomatteSession * | session, |
| const char * | layer_name, | ||
| const struct Object * | object ) |
| char * BKE_cryptomatte_entries_to_matte_id | ( | struct NodeCryptomatte * | node_storage | ) |
Definition at line 263 of file cryptomatte.cc.
References BLI_dynstr_append(), BLI_dynstr_appendf(), BLI_dynstr_free(), BLI_dynstr_get_cstring(), BLI_dynstr_nappend(), BLI_dynstr_new(), BLI_strnlen(), NodeCryptomatte::entries, LISTBASE_FOREACH, and result.
| bool BKE_cryptomatte_find_name | ( | const struct CryptomatteSession * | session, |
| float | encoded_hash, | ||
| char * | r_name, | ||
| int | name_maxncpy ) |
Find an ID in the given main that matches the given encoded float.
Referenced by cryptomatte_add(), and eyedropper_color_sample_text_update().
| void BKE_cryptomatte_free | ( | struct CryptomatteSession * | session | ) |
Definition at line 200 of file cryptomatte.cc.
References BLI_assert.
Referenced by eyedropper_exit(), and blender::bke::cryptomatte::CryptomatteSessionDeleter::operator()().
Definition at line 206 of file cryptomatte.cc.
References hash.
Referenced by blender::bke::cryptomatte::CryptomatteLayer::add_ID(), BKE_cryptomatte_matte_id_to_entries(), eyedropper_cryptomatte_sample_view3d_fl(), and blender::eevee::Cryptomatte::register_id().
Definition at line 244 of file cryptomatte.cc.
References blender::bke::cryptomatte::CryptomatteHash::float_encoded().
Referenced by BKE_cryptomatte_matte_id_to_entries(), eyedropper_cryptomatte_sample_view3d_fl(), blender::bke::cryptomatte::CryptomatteLayer::operator[](), and blender::eevee::Cryptomatte::register_id().
| struct CryptomatteSession * BKE_cryptomatte_init | ( | void | ) |
Definition at line 171 of file cryptomatte.cc.
| struct CryptomatteSession * BKE_cryptomatte_init_from_render_result | ( | const struct RenderResult * | render_result | ) |
Referenced by cryptomatte_init_from_node_image().
| struct CryptomatteSession * BKE_cryptomatte_init_from_scene | ( | const struct Scene * | scene, |
| bool | build_meta_data ) |
| struct CryptomatteSession * BKE_cryptomatte_init_from_view_layer | ( | const struct ViewLayer * | view_layer | ) |
Referenced by blender::eevee::Cryptomatte::begin_sync().
| uint32_t BKE_cryptomatte_material_hash | ( | struct CryptomatteSession * | session, |
| const char * | layer_name, | ||
| const struct Material * | material ) |
| void BKE_cryptomatte_matte_id_to_entries | ( | struct NodeCryptomatte * | node_storage, |
| const char * | matte_id ) |
Definition at line 284 of file cryptomatte.cc.
References BKE_cryptomatte_hash(), BKE_cryptomatte_hash_to_float(), BLI_addtail(), BLI_freelistN(), CryptomatteEntry::encoded_hash, NodeCryptomatte::entries, hash, NodeCryptomatte::matte_id, MEM_dupallocN, MEM_SAFE_FREE, CryptomatteEntry::name, STREQ, and STRNCPY.
Referenced by blo_do_versions_290().
| uint32_t BKE_cryptomatte_object_hash | ( | struct CryptomatteSession * | session, |
| const char * | layer_name, | ||
| const struct Object * | object ) |
| void BKE_cryptomatte_store_metadata | ( | const struct CryptomatteSession * | session, |
| struct RenderResult * | render_result ) |
Referenced by blender::eevee::Cryptomatte::store_metadata().