![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <VulkanResources.h>
Inheritance diagram for FVulkanBuffer:Classes | |
| struct | FBufferAlloc |
Static Public Member Functions | |
| static VkBufferUsageFlags | UEToVKBufferUsageFlags (FVulkanDevice &InDevice, EBufferUsageFlags InUEUsage, bool bZeroSize) |
Protected Types | |
| enum class | ELockStatus : uint8 { Unlocked , Locked , PersistentMapping } |
Protected Member Functions | |
| void | AllocateMemory (FBufferAlloc &OutAlloc) |
Protected Member Functions inherited from FRHIBuffer | |
| FRHIBuffer ()=delete | |
| RHI_API | FRHIBuffer (const FRHIBufferCreateDesc &CreateDesc) |
| void | TakeOwnership (FRHIBuffer &Other) |
| void | ReleaseOwnership () |
Protected Member Functions inherited from FRHIViewableResource | |
| FRHIViewableResource (ERHIResourceType InResourceType, ERHIAccess InAccess, const TCHAR *InName, FName InOwnerName) | |
| virtual void | SetTrackedAccessFromContext (FRHITrackedAccess InTrackedAccess) |
| void | TakeOwnership (FRHIViewableResource &Other) |
| void | ReleaseOwnership () |
Protected Member Functions inherited from FRHIResource | |
| virtual RHI_API | ~FRHIResource () |
Protected Attributes | |
| FVulkanDevice & | Device |
| VkBufferUsageFlags | BufferUsageFlags |
| enum FVulkanBuffer::ELockStatus | LockStatus = ELockStatus::Unlocked |
| FBufferAlloc | CurrentBufferAlloc |
| uint32 | LockCounter = 0 |
| TUniquePtr< FVulkanReservedResourceData > | ReservedResourceData |
Protected Attributes inherited from FRHIViewableResource | |
| FName | Name |
Friends | |
| class | FVulkanCommandListContext |
| struct | FRHICommandMultiBufferUnlock |
|
strongprotected |
| FVulkanBuffer::FVulkanBuffer | ( | FVulkanDevice & | InDevice, |
| const FRHIBufferCreateDesc & | CreateDesc, | ||
| const FRHITransientHeapAllocation * | InTransientHeapAllocation = nullptr |
||
| ) |
|
virtual |
|
protected |
| TArray< VkSparseMemoryBind > FVulkanBuffer::CommitReservedResource | ( | uint64 | RequiredCommitSizeInBytes | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void * FVulkanBuffer::Lock | ( | FRHICommandListBase & | RHICmdList, |
| EResourceLockMode | LockMode, | ||
| uint32 | Size, | ||
| uint32 | Offset | ||
| ) |
| void FVulkanBuffer::ReleaseOwnership | ( | ) |
| void FVulkanBuffer::TakeOwnership | ( | FVulkanBuffer & | Other | ) |
|
static |
| void FVulkanBuffer::Unlock | ( | FRHICommandListBase & | RHICmdList | ) |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |