29 if (!uv_transform.has_value()) {
32 return coverage.GetTransformedPoints(uv_transform.value());
static constexpr Matrix MakeScale(const Vector3 &s)
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,...
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.
constexpr TRect TransformBounds(const Matrix &transform) const
Creates a new bounding box that contains this transformed rectangle.
static constexpr TRect MakeSize(const TSize< U > &size)