UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RHICoreInitializerCommon.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "HAL/UnrealMemory.h"
7
8namespace UE::RHICore
9{
10 // Utility class for RHIs to use when they need to malloc aligned data up-front and make sure it's freed correctly by the Initializer lambda destruction
36}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition UnrealTemplate.h:321
Definition RHIResources.h:819
Definition UnrealMemory.h:94
static FORCENOINLINE CORE_API void Free(void *Original)
Definition UnrealMemory.cpp:685
Definition RHICoreInitializerCommon.h:12
~FInitializerScopedMemory()
Definition RHICoreInitializerCommon.h:26
FInitializerScopedMemory(size_t InSize, uint32 InAlignment)
Definition RHICoreInitializerCommon.h:17
FInitializerScopedMemory(FInitializerScopedMemory &&InOther)
Definition RHICoreInitializerCommon.h:21
FInitializerScopedMemory(void *InPointer)
Definition RHICoreInitializerCommon.h:13
void * Pointer
Definition RHICoreInitializerCommon.h:34