Lines Matching defs:recipe
89 amber::Result Amber::Parse(const std::string& input, amber::Recipe* recipe) {
90 if (!recipe)
103 recipe->SetImpl(parser->GetScript().release());
109 // Create an engine initialize it, and check the recipe's requirements.
113 Result CreateEngineAndCheckRequirements(const Recipe* recipe,
118 if (!recipe)
119 return Result("Attempting to check an invalid recipe");
121 Script* script = static_cast<Script*>(recipe->GetImpl());
148 amber::Result Amber::AreAllRequirementsSupported(const amber::Recipe* recipe,
153 return CreateEngineAndCheckRequirements(recipe, opts, GetDelegate(), &engine,
157 amber::Result Amber::Execute(const amber::Recipe* recipe, Options* opts) {
159 return ExecuteWithShaderData(recipe, opts, map);
162 amber::Result Amber::ExecuteWithShaderData(const amber::Recipe* recipe,
167 Result r = CreateEngineAndCheckRequirements(recipe, opts, GetDelegate(),