5#ifndef FLUTTER_IMPELLER_RENDERER_SNAPSHOT_H_
6#define FLUTTER_IMPELLER_RENDERER_SNAPSHOT_H_
@ kNearest
The nearst mipmap level is selected.
A 4x4 matrix using column-major storage.
Represents a texture and its intended draw transform/sampler configuration.
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.