1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2026 Fernando Sahmkow
/// @file bc6h.h
/// @brief BC6H encode and decode.
///
/// Decompresses BC6H (DXGI_FORMAT_BC6H_UF16 -- unsigned half-float)
/// blocks into RGBA32F pixels and compresses RGBA32F data back
/// into BC6H. All 14 BC6H modes are fully supported for decoding; the
/// encoder uses mode 11 for a good quality/speed trade-off.
///
/// No external dependencies -- pure C++20.
namespace whiteout::textures // namespace whiteout::textures