5 #ifndef FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_FILTER_CONTENTS_FILTER_INPUT_H_
6 #define FLUTTER_IMPELLER_ENTITY_CONTENTS_FILTERS_INPUTS_FILTER_CONTENTS_FILTER_INPUT_H_
17 std::optional<Snapshot>
GetSnapshot(std::string_view label,
20 std::optional<Rect> coverage_limit,
21 int32_t mip_count)
const override;
28 const Matrix& effect_transform,
29 const Rect& output_limit)
const override;
46 std::shared_ptr<FilterContents> filter_;
47 mutable std::optional<Snapshot> snapshot_;
std::optional< Snapshot > GetSnapshot(std::string_view label, const ContentContext &renderer, const Entity &entity, std::optional< Rect > coverage_limit, int32_t mip_count) const override
virtual void SetRenderingMode(Entity::RenderingMode rendering_mode) override
Turns on subpass mode for filter inputs.
Matrix GetLocalTransform(const Entity &entity) const override
Get the local transform of this filter input. This transform is relative to the Entity transform spac...
Matrix GetTransform(const Entity &entity) const override
Get the transform of this FilterInput. This is equivalent to calling entity.GetTransform() * GetLocal...
~FilterContentsFilterInput() override
std::optional< Rect > GetSourceCoverage(const Matrix &effect_transform, const Rect &output_limit) const override
virtual void SetEffectTransform(const Matrix &matrix) override
Sets the effect transform of filter inputs.
std::optional< Rect > GetCoverage(const Entity &entity) const override
A 4x4 matrix using column-major storage.