|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
IEEE binary32 → binary16, for the data the GPU takes at half width. More...


Go to the source code of this file.
Namespaces | |
| namespace | esengine |
Functions | |
| u16 | esengine::packHalf (f32 value) |
| IEEE binary32 to binary16. | |
IEEE binary32 → binary16, for the data the GPU takes at half width.
One author: a mesh's morph deltas and a frame's probe coefficients both reach the GPU as RGBA16F, and two conversions would be two roundings to keep agreeing.
Definition in file Half.hpp.