| Flutter Impeller |

Namespaces | Functions
gradient_generator.cc File Reference
`#include <algorithm>`
`#include "impeller/entity/contents/gradient_generator.h"`
`#include "flutter/fml/logging.h"`
`#include "impeller/core/texture.h"`
`#include "impeller/entity/contents/content_context.h"`
`#include "impeller/renderer/context.h"`
`#include "impeller/renderer/render_pass.h"`

Go to the source code of this file.

## Namespaces
| impeller

## Functions
std::shared_ptr< Texture > | impeller::CreateGradientTexture (const GradientData &gradient_data, const std::shared_ptr< impeller::Context > &context)
| Create a host visible texture that contains the gradient defined by the provided gradient data. More...
std::vector< StopData > | impeller::CreateGradientColors (const std::vector< Color > &colors, const std::vector< Scalar > &stops)
| Populate a vector with the color and stop data for a gradient. More...