 |
Flutter Impeller
|
|
Go to the documentation of this file.
10 #include "flutter/fml/logging.h"
20 if (
auto filter = std::get_if<std::shared_ptr<FilterContents>>(&input)) {
21 return std::static_pointer_cast<FilterInput>(
22 std::shared_ptr<FilterContentsFilterInput>(
26 if (
auto contents = std::get_if<std::shared_ptr<Contents>>(&input)) {
27 return std::static_pointer_cast<FilterInput>(
28 std::shared_ptr<ContentsFilterInput>(
32 if (
auto texture = std::get_if<std::shared_ptr<Texture>>(&input)) {
36 if (
auto rect = std::get_if<Rect>(&input)) {
37 return std::shared_ptr<PlaceholderFilterInput>(
46 return std::shared_ptr<TextureFilterInput>(
52 result.reserve(inputs.size());
53 for (
const auto& input : inputs) {
54 result.push_back(
Make(input));
64 Entity local_entity = entity;
74 const std::shared_ptr<LazyGlyphAtlas>& lazy_glyph_atlas,
void SetTransformation(const Matrix &transformation)
const Matrix & GetTransformation() const
A 4x4 matrix using column-major storage.