 |
Flutter Impeller
|
|
Go to the documentation of this file.
20 const std::string& label,
23 std::optional<Rect> coverage_limit)
const override;
36 const std::shared_ptr<LazyGlyphAtlas>& lazy_glyph_atlas,
43 bool IsLeaf()
const override;
57 std::shared_ptr<FilterContents> filter_;
58 mutable std::optional<Snapshot> snapshot_;
bool IsLeaf() const override
Returns true unless this input is a FilterInput, which may take other inputs.
virtual void SetRenderingMode(Entity::RenderingMode rendering_mode) override
Turns on subpass mode for filter inputs.
Matrix GetTransform(const Entity &entity) const override
Get the transform of this FilterInput. This is equivalent to calling entity.GetTransformation() * Get...
Variant GetInput() const override
Matrix GetLocalTransform(const Entity &entity) const override
Get the local transform of this filter input. This transform is relative to the Entity transform spac...
virtual void SetEffectTransform(const Matrix &matrix) override
Sets the effect transform of filter inputs.
bool IsTranslationOnly() const override
void PopulateGlyphAtlas(const std::shared_ptr< LazyGlyphAtlas > &lazy_glyph_atlas, Scalar scale) override
std::optional< Rect > GetCoverage(const Entity &entity) const override
std::optional< Snapshot > GetSnapshot(const std::string &label, const ContentContext &renderer, const Entity &entity, std::optional< Rect > coverage_limit) const override
~FilterContentsFilterInput() override
A 4x4 matrix using column-major storage.
void SetLeafInputs(const FilterInput::Vector &inputs) override
Replaces the inputs of all leaf FilterContents with a new set of inputs.