FPendingBarrier

Windows
MacOS
Linux

Syntax

struct FPendingBarrier

Variables

Name Description

Protected variable

TArray< VkBuffe...

 

BufferBarriers

Protected variable

VkPipelineStage...

 

DestStage

Protected variable

TArray< VkImage...

 

ImageBarriers

Protected variable

VkPipelineStage...

 

SourceStage

Functions

Name Description

Public function

int32

 

AddImageBarrier

(
    VkImage Image,
    VkImageAspectFlags Aspect,
    uint32 NumMips,
    uint32 NumLayers
)

Public function

void

 

Execute

(
    FVulkanCmdBuffer* CmdBuffer,
    bool bEnsure
)

Actually Insert the cmd in cmdbuffer.

Public function

VkImageLayou...

 

GetDestLayout

(
    int32 BarrierIndex
)

Public function

VkImageSubre...

 

GetSubresource

(
    int32 BarrierIndex
)

This is only valid while no other ImageBarriers are added/removed.

Protected function

void

 

InnerExecute

(
    FVulkanCmdBuffer* CmdBuffer,
    bool bEnsure
)

Public function Const

int32

 

NumBufferBarriers()

Public function Const

int32

 

NumImageBarriers()

Public function

void

 

ResetStages()

Public function

void

 

SetTransition

(
    int32 BarrierIndex,
    EImageLayoutBarrier Source,
    EImageLayoutBarrier Dest
)

References

Module

VulkanRHI

Header

Runtime/VulkanRHI/Public/VulkanMemory.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback