 |
Flutter Impeller
|
|
Go to the documentation of this file.
11 #include "flutter/fml/macros.h"
19 #if IMPELLER_ENABLE_3D
21 #endif // IMPELLER_ENABLE_3D
41 std::function<std::shared_ptr<ColorSourceContents>(
const Paint& paint)>;
53 Entity::TileMode tile_mode,
62 Entity::TileMode tile_mode,
69 Entity::TileMode tile_mode,
77 Entity::TileMode tile_mode,
81 Entity::TileMode x_tile_mode,
82 Entity::TileMode y_tile_mode,
88 std::shared_ptr<
std::vector<uint8_t>> uniform_data,
91 #if IMPELLER_ENABLE_3D
92 static ColorSource MakeScene(std::shared_ptr<scene::Node> scene_node,
94 #endif // IMPELLER_ENABLE_3D
std::shared_ptr< ColorSourceContents > GetContents(const Paint &paint) 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 MakeSweepGradient(Point center, Degrees start_angle, Degrees end_angle, std::vector< Color > colors, std::vector< Scalar > stops, Entity::TileMode tile_mode, Matrix effect_transform)
static ColorSource MakeColor()
static ColorSource MakeImage(std::shared_ptr< Texture > texture, Entity::TileMode x_tile_mode, Entity::TileMode y_tile_mode, SamplerDescriptor sampler_descriptor, Matrix effect_transform)
std::function< std::shared_ptr< ColorSourceContents >(const Paint &paint)> ColorSourceProc
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 MakeRadialGradient(Point center, Scalar radius, std::vector< Color > colors, std::vector< Scalar > stops, 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)
A 4x4 matrix using column-major storage.