|
Blender V5.3
|
#include <BLI_normalized_int_types.hh>
Public Types | |
| using | VecT = VecBase<float, 4> |
| using | IntVecT = VecBase<T, 4> |
Public Member Functions | |
| NormalizedIntVec ()=default | |
| constexpr | NormalizedIntVec (IntVecT value) |
| operator IntVecT () const | |
Static Public Member Functions | |
| static constexpr VecT | max () |
| static constexpr VecT | min () |
Public Attributes | |
| T | x: SizeX |
| T | y: SizeY |
| T | z: SizeZ |
| T | w: SizeW |
Static Public Attributes | |
| static constexpr bool | is_signed = std::is_signed<T>() |
| static constexpr T | x_max = (1 << (SizeX - int(is_signed))) - 1 |
| static constexpr T | y_max = (1 << (SizeY - int(is_signed))) - 1 |
| static constexpr T | z_max = (1 << (SizeZ - int(is_signed))) - 1 |
| static constexpr T | w_max = (1 << (SizeW - int(is_signed))) - 1 |
Definition at line 58 of file BLI_normalized_int_types.hh.
| using blender::detail::NormalizedIntVec< T, 4, SizeX, SizeY, SizeZ, SizeW >::IntVecT = VecBase<T, 4> |
Definition at line 60 of file BLI_normalized_int_types.hh.
| using blender::detail::NormalizedIntVec< T, 4, SizeX, SizeY, SizeZ, SizeW >::VecT = VecBase<float, 4> |
Definition at line 59 of file BLI_normalized_int_types.hh.
|
default |
|
inlineconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inline |
|
staticconstexpr |
Definition at line 61 of file BLI_normalized_int_types.hh.
Referenced by min().
| T blender::detail::NormalizedIntVec< T, 4, SizeX, SizeY, SizeZ, SizeW >::w |
Definition at line 82 of file BLI_normalized_int_types.hh.
Referenced by NormalizedIntVec(), and operator IntVecT().
|
staticconstexpr |
Definition at line 65 of file BLI_normalized_int_types.hh.
| T blender::detail::NormalizedIntVec< T, 4, SizeX, SizeY, SizeZ, SizeW >::x |
Definition at line 79 of file BLI_normalized_int_types.hh.
Referenced by NormalizedIntVec(), and operator IntVecT().
|
staticconstexpr |
Definition at line 62 of file BLI_normalized_int_types.hh.
| T blender::detail::NormalizedIntVec< T, 4, SizeX, SizeY, SizeZ, SizeW >::y |
Definition at line 80 of file BLI_normalized_int_types.hh.
Referenced by NormalizedIntVec(), and operator IntVecT().
|
staticconstexpr |
Definition at line 63 of file BLI_normalized_int_types.hh.
| T blender::detail::NormalizedIntVec< T, 4, SizeX, SizeY, SizeZ, SizeW >::z |
Definition at line 81 of file BLI_normalized_int_types.hh.
Referenced by NormalizedIntVec(), and operator IntVecT().
|
staticconstexpr |
Definition at line 64 of file BLI_normalized_int_types.hh.