FDeviceMemoryManager::Alloc

BCanFail means an allocation failing is not a fatal error, just returns nullptr

Windows
MacOS
Linux

References

Module

VulkanRHI

Header

/Engine/Source/Runtime/VulkanRHI/Public/VulkanMemory.h

Include

#include "VulkanMemory.h"

Syntax

FDeviceMemoryAllocation * Alloc
(
    bool bCanFail,
    VkDeviceSize AllocationSize,
    uint32 MemoryTypeBits,
    VkMemoryPropertyFlags MemoryPropertyFlags,
    void * DedicatedAllocateInfo,
    float Priority,
    const char * File,
    uint32 Line
)

Remarks

BCanFail means an allocation failing is not a fatal error, just returns nullptr

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss