UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RHIAllocators.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3/*=============================================================================
4 RHIAllocators.h: Render Hardware Interface allocators
5=============================================================================*/
6
7#pragma once
8
10
11// Same of FDefaultBlockAllocationTag but custom TagName
13{
14 static constexpr uint32 BlockSize = 64 * 1024; // Blocksize used to allocate from
15 static constexpr bool AllowOversizedBlocks = true; // The allocator supports oversized Blocks and will store them in a separate Block with counter 1
16 static constexpr bool RequiresAccurateSize = true; // GetAllocationSize returning the accurate size of the allocation otherwise it could be relaxed to return the size to the end of the Block
17 static constexpr bool InlineBlockAllocation = false; // Inline or Noinline the BlockAllocation which can have an impact on Performance
18 static constexpr const char* TagName = "RHICommandListBaseAllocator";
19
21};
22
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition ConcurrentLinearAllocator.h:121
Definition ConcurrentLinearAllocator.h:190
Definition ConcurrentLinearAllocator.h:624
Definition ContainerAllocationPolicies.h:1662
Definition RHIAllocators.h:13
static constexpr const char * TagName
Definition RHIAllocators.h:18
static constexpr bool RequiresAccurateSize
Definition RHIAllocators.h:16
static constexpr bool InlineBlockAllocation
Definition RHIAllocators.h:17
static constexpr bool AllowOversizedBlocks
Definition RHIAllocators.h:15
static constexpr uint32 BlockSize
Definition RHIAllocators.h:14