Flutter Engine
The Flutter Engine
Classes | Namespaces | Typedefs | Functions
half.h File Reference
#include <cstdint>
#include "flutter/fml/build_config.h"
#include "impeller/geometry/color.h"
#include "impeller/geometry/point.h"
#include "impeller/geometry/scalar.h"
#include "impeller/geometry/vector.h"

Go to the source code of this file.

Classes

struct  impeller::Half
 A storage only class for half precision floating point. More...
 
struct  impeller::HalfVector4
 A storage only class for half precision floating point vector 4. More...
 
struct  impeller::HalfVector3
 A storage only class for half precision floating point vector 3. More...
 
struct  impeller::HalfVector2
 A storage only class for half precision floating point vector 2. More...
 

Namespaces

namespace  impeller
 
namespace  std
 

Typedefs

using InternalHalf = uint16_t
 

Functions

constexpr InternalHalf impeller::ScalarToHalf (Scalar f)
 Convert a scalar to a half precision float. More...
 
std::ostream & std::operator<< (std::ostream &out, const impeller::Half &p)
 
std::ostream & std::operator<< (std::ostream &out, const impeller::HalfVector2 &p)
 
std::ostream & std::operator<< (std::ostream &out, const impeller::HalfVector3 &p)
 
std::ostream & std::operator<< (std::ostream &out, const impeller::HalfVector4 &p)
 

Typedef Documentation

◆ InternalHalf

using InternalHalf = uint16_t

Definition at line 23 of file half.h.