5#ifndef FLUTTER_IMPELLER_RENDERER_SNAPSHOT_H_
6#define FLUTTER_IMPELLER_RENDERER_SNAPSHOT_H_
65 const Rect& coverage)
const;
@ kNearest
The nearst mipmap level is selected.
A 4x4 matrix using column-major storage.
constexpr bool IsTranslationOnly() const
Returns true if the matrix has no entries other than translation components. Note that an identity ma...
Represents a texture and its intended draw transform/sampler configuration.
bool needs_rasterization_for_runtime_effects
Whether this snapshot needs to be re-rasterized when used as an input to a runtime effect.
Matrix transform
The transform that should be applied to this texture for rendering.
std::shared_ptr< Texture > texture
std::optional< std::array< Point, 4 > > GetCoverageUVs(const Rect &coverage) const
Map a coverage rect to this filter input's UV space. Result order: Top left, top right,...
SamplerDescriptor sampler_descriptor
std::optional< Rect > GetCoverage() const
std::optional< Matrix > GetUVTransform() const
Get the transform that converts screen space coordinates to the UV space of this snapshot.
bool ShouldRasterizeForRuntimeEffects() const