// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 /** * This file is obsolete. Do not use anything from here. I realized later too that putting a magma element here doesn't * make a ton of sense due to the extra dependency, and that most host applications (ie. MaxKrakatoa) will have custom * Magma stuff that krakatoa base can't know about. */ #pragma once #include #include #include #include namespace krakatoa { class magma_render_element : public render_element { frantic::channels::channel_map m_outputMap; frantic::channels::channel_const_cvt_accessor m_accessor; std::vector m_exprTree; boost::shared_ptr m_pCompiledExpr; bool m_doAntialias; private: magma_render_element( bool doAntialias ); public: magma_render_element( bool doAntialias, const std::vector& exprTree ); virtual ~magma_render_element(); /** * see render_element_interface::clone() */ virtual render_element_interface* clone(); /** * see particle_render_element_interface::get_drawing_type() */ virtual draw_type get_drawing_type() const; /** * see particle_render_element_interface::set_channel_map() */ virtual void set_channel_map( const frantic::channels::channel_map& pcm ); /** * see particle_render_element_interface::add_required_channels() */ virtual void add_required_channels( frantic::channels::channel_map& pcm ); /** * see particle_render_element_interface::evaluate() */ virtual frantic::graphics::color3f evaluate( const char* particle ); }; } // namespace krakatoa