5#ifndef FLUTTER_IMPELLER_AIKS_COLOR_SOURCE_H_
6#define FLUTTER_IMPELLER_AIKS_COLOR_SOURCE_H_
83 std::shared_ptr<scene::Node> scene_node;
157 std::shared_ptr<
std::vector<uint8_t>> uniform_data,
160#if IMPELLER_ENABLE_3D
161 static ColorSource MakeScene(std::shared_ptr<scene::Node> scene_node,
const ColorSourceData & GetData() const
static ColorSource MakeLinearGradient(Point start_point, Point end_point, std::vector< Color > colors, std::vector< Scalar > stops, Entity::TileMode tile_mode, Matrix effect_transform)
static ColorSource MakeColor()
static ColorSource MakeRadialGradient(Point center, Scalar radius, std::vector< Color > colors, std::vector< Scalar > stops, Entity::TileMode tile_mode, Matrix effect_transform)
static ColorSource MakeImage(std::shared_ptr< Texture > texture, Entity::TileMode x_tile_mode, Entity::TileMode y_tile_mode, SamplerDescriptor sampler_descriptor, Matrix effect_transform)
static ColorSource MakeSweepGradient(Point center, Degrees start_angle, Degrees end_angle, std::vector< Color > colors, std::vector< Scalar > stops, Entity::TileMode tile_mode, Matrix effect_transform)
std::shared_ptr< ColorSourceContents > GetContents(const Paint &paint) const
static ColorSource MakeConicalGradient(Point center, Scalar radius, std::vector< Color > colors, std::vector< Scalar > stops, Point focus_center, Scalar focus_radius, Entity::TileMode tile_mode, Matrix effect_transform)
static ColorSource MakeRuntimeEffect(std::shared_ptr< RuntimeStage > runtime_stage, std::shared_ptr< std::vector< uint8_t > > uniform_data, std::vector< RuntimeEffectContents::TextureInput > texture_inputs)
PODArray< SkColor > colors
std::variant< LinearGradientData, RadialGradientData, ConicalGradientData, SweepGradientData, ImageData, RuntimeEffectData, std::monostate > ColorSourceData
SkTileMode TileMode(jint tm)
std::vector< Scalar > stops
std::vector< Color > colors
Entity::TileMode tile_mode
std::shared_ptr< Texture > texture
SamplerDescriptor sampler_descriptor
Entity::TileMode y_tile_mode
Entity::TileMode x_tile_mode
Entity::TileMode tile_mode
std::vector< Color > colors
std::vector< Scalar > stops
A 4x4 matrix using column-major storage.
std::vector< Color > colors
std::vector< Scalar > stops
Entity::TileMode tile_mode
std::shared_ptr< std::vector< uint8_t > > uniform_data
std::shared_ptr< RuntimeStage > runtime_stage
std::vector< RuntimeEffectContents::TextureInput > texture_inputs
std::vector< Scalar > stops
Entity::TileMode tile_mode
std::vector< Color > colors