blob: e50c100c3196a17a57deb607ceb9c63528499efa [file] [log] [blame]
#ifndef _RIVE_BLEND_STATE1_D_HPP_
#define _RIVE_BLEND_STATE1_D_HPP_
#include "rive/generated/animation/blend_state_1d_base.hpp"
namespace rive {
class BlendState1D : public BlendState1DBase {
public:
// -1 (4294967295) is our flag value for input not set. It means it wasn't set at edit
// time.
const uint32_t noInputSpecified = -1;
bool hasValidInputId() const { return inputId() != noInputSpecified; }
StatusCode import(ImportStack& importStack) override;
std::unique_ptr<StateInstance> makeInstance(ArtboardInstance*) const override;
};
} // namespace rive
#endif