Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Templates
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Templates/AlignmentTemplates.h |
| Include | #include "Templates/AlignmentTemplates.h" |
template<typename T>
T AlignArbitrary
(
T Val,
uint64 Alignment
)
Remarks
Aligns a value to the nearest higher multiple of 'Alignment'. The value aligned up to the specified alignment.
Parameters
| Name | Description |
|---|---|
| Val | The value to align. |
| Alignment | The alignment value, can be any arbitrary value. |