Functions | |
ONLY_ON_SIGNED_INT (SI) Add(SI location | |
ONLY_ON_FLOAT (FP) Add(FP location | |
ONLY_ON_SIGNED_INT_RET (SI, Scalar) AverageScalar(SI a | |
ONLY_ON_SAME_TYPES (T, U) Cast(T v) | |
ONLY_ON_FLOAT_TO_SIGNED_INT (FP, SI) Cast(FP v) | |
ONLY_ON_DIFFERING_FLOAT (FP1, FP2) Cast(FP1 v) | |
Variables | |
template<typename T > | |
constexpr bool | is_signed_integral_v |
SI | distance |
SI | lower |
SI | b |
impeller::saturated::ONLY_ON_DIFFERING_FLOAT | ( | FP1 | , |
FP2 | |||
) |
Definition at line 122 of file saturated_math.h.
impeller::saturated::ONLY_ON_FLOAT | ( | FP | ) |
References distance.
impeller::saturated::ONLY_ON_FLOAT_TO_SIGNED_INT | ( | FP | , |
SI | |||
) |
Definition at line 113 of file saturated_math.h.
impeller::saturated::ONLY_ON_SAME_TYPES | ( | T | , |
U | |||
) |
Definition at line 109 of file saturated_math.h.
impeller::saturated::ONLY_ON_SIGNED_INT | ( | SI | ) |
impeller::saturated::ONLY_ON_SIGNED_INT_RET | ( | SI | , |
Scalar | |||
) |
FP impeller::saturated::b |
Definition at line 87 of file saturated_math.h.
Referenced by Array4Near(), ColorBufferNear(), ColorNear(), ColorsNear(), impeller::Vector3::Combine(), impeller::ComponentChoose(), impeller::ComputeCubicSubdivisions(), impeller::SolidRRectLikeBlurContents::Concat(), impeller::Matrix::Equals(), impeller::GlyphAtlas::GetGlyphCount(), impeller::TRect< T >::Intersection(), impeller::Color::Lerp(), impeller::Color::MakeRGBA8(), MatrixNear(), NumberNear(), PointNear(), QuaternionNear(), RectNear(), impeller::GaussianBlurFilterContents::ScaleSigma(), SizeNear(), SolidVerticesNear(), impeller::testing::swap_nan(), impeller::testing::TEST(), impeller::testing::TEST_P(), TextureVerticesNear(), impeller::Color::ToR8G8B8A8(), impeller::TRect< T >::Union(), Vector3Near(), and Vector4Near().
FP impeller::saturated::distance |
Definition at line 57 of file saturated_math.h.
Referenced by ONLY_ON_FLOAT(), and impeller::testing::TEST_P().
|
inlineconstexpr |
Definition at line 21 of file saturated_math.h.
FP impeller::saturated::lower |
Definition at line 72 of file saturated_math.h.