// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 #pragma once #include #include #include #include #include #include #include #include inline bool is_krakatoa_channel_modifier( ReferenceTarget* pMod ) { return ( pMod->ClassID() == Class_ID( 0x17776900, 0x2de0f78 ) ) != FALSE; } inline bool is_krakatoa_delete_modifier( ReferenceTarget* pMod ) { return // Normal delete modifier ( pMod->ClassID() == Class_ID( 0x7fc844e7, 0x1fe348d5 ) ) != FALSE || // WSM version ( pMod->ClassID() == Class_ID( 0x13b4570d, 0x4c44758b ) ) != FALSE; } void create_kcm_ast_nodes( std::vector& outNodes, krakatoa::scene_context_ptr sceneContext, INode* pNode, ReferenceTarget* pMagmaHolder ); boost::shared_ptr get_krakatoa_channel_modifier_particle_istream( boost::shared_ptr delegatePin, krakatoa::scene_context_ptr sceneContext, INode* pNode, ReferenceTarget* pMagmaHolder ); boost::shared_ptr get_krakatoa_channel_modifier_particle_istream( boost::shared_ptr delegatePin, frantic::max3d::particles::IMaxKrakatoaPRTEvalContextPtr sceneContext, INode* pNode, ReferenceTarget* pMagmaHolder );