#include #include "effect.h" namespace wp { effect::effect (json json_data) { json::const_iterator file = json_data.find ("file"); json::const_iterator pass = json_data.find ("passes"); if (file != json_data.end () && (*file).is_string () == true) { this->m_file = wp::fs::resolver.resolve (*file); } } };