12 #ifndef hifi_PrepareJointsTask_h
13 #define hifi_PrepareJointsTask_h
15 #include <shared/HifiTypes.h>
19 #include "BakerTypes.h"
22 class PrepareJointsConfig :
public baker::JobConfig {
24 Q_PROPERTY(
bool passthrough MEMBER passthrough)
26 bool passthrough {
false };
29 class PrepareJointsTask {
31 using Config = PrepareJointsConfig;
32 using Input = baker::VaryingSet2<std::vector<hfm::Joint>, hifi::VariantHash >;
33 using Output = baker::VaryingSet3<std::vector<hfm::Joint>, QMap<int, glm::quat> , QHash<QString, int> >;
34 using JobModel = baker::Job::ModelIO<PrepareJointsTask, Input, Output, Config>;
36 void configure(
const Config& config);
37 void run(
const baker::BakeContextPointer& context,
const Input& input, Output& output);
40 bool _passthrough {
false };