UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VulkanRHI Namespace Reference

Classes

class  FDeviceMemoryAllocation
 
struct  FDeviceMemoryBlock
 
struct  FDeviceMemoryBlockKey
 
class  FDeviceMemoryManager
 
class  FMemoryManager
 
struct  FRange
 
struct  FResourceHeapStats
 
class  FStagingBuffer
 
class  FStagingManager
 
class  FTempBlockAllocator
 
class  FVulkanAllocation
 
struct  FVulkanAllocationInternal
 
struct  FVulkanMemoryAllocation
 
struct  FVulkanMemoryBucket
 
struct  FVulkanPageSizeBucket
 
class  FVulkanResourceHeap
 
class  FVulkanSubresourceAllocator
 

Functions

template<typename Callback >
void IterateVulkanAllocations (Callback F, uint32 AllocatorIndex)
 
const TCHARVulkanAllocationTypeToString (EVulkanAllocationType Type)
 
const TCHARVulkanAllocationMetaTypeToString (EVulkanAllocationMetaType MetaType)
 
bool MetaTypeCanEvict (EVulkanAllocationMetaType MetaType)
 
FORCEINLINE uint32 GetTypeHash (const FDeviceMemoryBlockKey &BlockKey)
 
 ENUM_CLASS_FLAGS (EVulkanAllocationFlags)
 
VkImageLayout GetMergedDepthStencilLayout (VkImageLayout DepthLayout, VkImageLayout StencilLayout)
 
void HeavyWeightBarrier (VkCommandBuffer CmdBuffer)
 
void DebugHeavyWeightBarrier (VkCommandBuffer CmdBuffer, int32 CVarConditionMask)
 
VkBuffer CreateBuffer (FVulkanDevice *InDevice, VkDeviceSize Size, VkBufferUsageFlags BufferUsageFlags, VkMemoryRequirements &OutMemoryRequirements)
 
void VerifyVulkanResult (VkResult Result, const ANSICHAR *VkFunction, const ANSICHAR *Filename, uint32 Line)
 

Function Documentation

◆ CreateBuffer()

VkBuffer VulkanRHI::CreateBuffer ( FVulkanDevice InDevice,
VkDeviceSize  Size,
VkBufferUsageFlags  BufferUsageFlags,
VkMemoryRequirements OutMemoryRequirements 
)

◆ DebugHeavyWeightBarrier()

void VulkanRHI::DebugHeavyWeightBarrier ( VkCommandBuffer  CmdBuffer,
int32  CVarConditionMask 
)
inline

◆ ENUM_CLASS_FLAGS()

VulkanRHI::ENUM_CLASS_FLAGS ( EVulkanAllocationFlags  )

◆ GetMergedDepthStencilLayout()

VkImageLayout VulkanRHI::GetMergedDepthStencilLayout ( VkImageLayout  DepthLayout,
VkImageLayout  StencilLayout 
)
inline

◆ GetTypeHash()

FORCEINLINE uint32 VulkanRHI::GetTypeHash ( const FDeviceMemoryBlockKey BlockKey)

◆ HeavyWeightBarrier()

void VulkanRHI::HeavyWeightBarrier ( VkCommandBuffer  CmdBuffer)
inline

◆ IterateVulkanAllocations()

template<typename Callback >
void VulkanRHI::IterateVulkanAllocations ( Callback  F,
uint32  AllocatorIndex 
)

◆ MetaTypeCanEvict()

bool VulkanRHI::MetaTypeCanEvict ( EVulkanAllocationMetaType  MetaType)

◆ VerifyVulkanResult()

void VulkanRHI::VerifyVulkanResult ( VkResult  Result,
const ANSICHAR VkFunction,
const ANSICHAR Filename,
uint32  Line 
)

Checks that the given result isn't a failure. If it is, the application exits with an appropriate error message.

Parameters
Result- The result code to check
Code- The code which yielded the result.
VkFunction- Tested function name.
Filename- The filename of the source file containing Code.
Line- The line number of Code within Filename.

◆ VulkanAllocationMetaTypeToString()

const TCHAR * VulkanRHI::VulkanAllocationMetaTypeToString ( EVulkanAllocationMetaType  MetaType)

◆ VulkanAllocationTypeToString()

const TCHAR * VulkanRHI::VulkanAllocationTypeToString ( EVulkanAllocationType  Type)