![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Go to the source code of this file.
Functions | |
| template<typename T > | |
| constexpr T | Align (T Val, uint64 Alignment) |
| template<typename T > | |
| constexpr T | AlignDown (T Val, uint64 Alignment) |
| template<typename T > | |
| constexpr bool | IsAligned (T Val, uint64 Alignment) |
| template<typename T > | |
| constexpr T | AlignArbitrary (T Val, uint64 Alignment) |
Aligns a value to the nearest higher multiple of 'Alignment', which must be a power of two.
| Val | The value to align. |
| Alignment | The alignment value, must be a power of two. |
Aligns a value to the nearest higher multiple of 'Alignment'.
| Val | The value to align. |
| Alignment | The alignment value, can be any arbitrary value. |
Aligns a value to the nearest lower multiple of 'Alignment', which must be a power of two.
| Val | The value to align. |
| Alignment | The alignment value, must be a power of two. |
Checks if a pointer is aligned to the specified alignment.
| Val | The value to align. |
| Alignment | The alignment value, must be a power of two. |