Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Templates
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Templates/UnrealTemplate.h |
Include | #include "Templates/UnrealTemplate.h" |
Syntax
template<typename T>
struct TUseBitwiseSwap
Remarks
A traits class which specifies whether a Swap of a given type should swap the bits or use a traditional value-based swap.
Specializations
TUseBitwiseSwap< FInertializationPose >
TUseBitwiseSwap< FVisibleMeshDrawCommand >
TUseBitwiseSwap< FVisibleRayTracingMeshCommand >
Constants
Name | Description |
---|---|
Value | We don't use bitwise swapping for 'register' types because this will force them into memory and be slower. |