// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 #include "stdafx.h" #include "Magma/MagmaMaxSingleton.hpp" #include "frantic/magma/max3d/nodes/magma_texmap_op_node.hpp" #include #include namespace frantic { namespace magma { namespace nodes { namespace max3d { void define_max_nodes( frantic::magma::magma_singleton& ms ); } } // namespace nodes } // namespace magma } // namespace frantic // MagmaMaxSingleton MagmaMaxSingleton::s_instance; MagmaMaxSingleton::MagmaMaxSingleton() : frantic::magma::magma_singleton( true ) { frantic::magma::nodes::max3d::define_max_nodes( *this ); this->define_node_type(); this->define_node_type(); this->define_node_type(); this->define_node_type(); } MagmaMaxSingleton& MagmaMaxSingleton::get_instance() { static MagmaMaxSingleton theMagmaMaxSingleton; return theMagmaMaxSingleton; // return s_instance; }