UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FVulkanFramebuffer Class Reference

#include <VulkanFramebuffer.h>

Public Member Functions

 FVulkanFramebuffer (FVulkanDevice &Device, const FRHISetRenderTargetsInfo &InRTInfo, const FVulkanRenderTargetLayout &RTLayout, const FVulkanRenderPass &RenderPass)
 
 ~FVulkanFramebuffer ()
 
bool Matches (const FRHISetRenderTargetsInfo &RTInfo) const
 
uint32 GetNumColorAttachments () const
 
void Destroy (FVulkanDevice &Device)
 
VkFramebuffer GetHandle ()
 
const FVulkanView::FTextureViewGetPartialDepthTextureView () const
 
bool ContainsRenderTarget (FRHITexture *Texture) const
 
bool ContainsRenderTarget (VkImage Image) const
 
VkRect2D GetRenderArea () const
 

Static Public Member Functions

static FVulkanViewGetColorRenderTargetViewDesc (FVulkanTexture *Texture, uint32 MipIndex, int32 ArraySliceIndex, uint32 MultiViewCount, uint32 &InOutNumLayers)
 
static FVulkanViewGetColorResolveTargetViewDesc (FVulkanTexture *ResolveTexture, uint32 MipIndex, int32 ArraySliceIndex)
 
static FVulkanViewGetDepthStencilTargetViewDesc (FVulkanTexture *Texture, uint32 NumColorAttachments, uint32 MipIndex, uint32 &InOutNumLayers)
 
static FVulkanViewGetDepthStencilResolveTargetViewDesc (FVulkanTexture *ResolveTexture, uint32 MipIndex)
 
static FVulkanViewGetFragmentDensityAttachmentViewDesc (FVulkanTexture *Texture, uint32 MipIndex)
 

Public Attributes

TArray< FVulkanView const * > AttachmentTextureViews
 
FVulkanView const * PartialDepthTextureView = nullptr
 

Friends

class FVulkanCommandListContext
 

Constructor & Destructor Documentation

◆ FVulkanFramebuffer()

FVulkanFramebuffer::FVulkanFramebuffer ( FVulkanDevice Device,
const FRHISetRenderTargetsInfo InRTInfo,
const FVulkanRenderTargetLayout RTLayout,
const FVulkanRenderPass RenderPass 
)

◆ ~FVulkanFramebuffer()

FVulkanFramebuffer::~FVulkanFramebuffer ( )

Member Function Documentation

◆ ContainsRenderTarget() [1/2]

bool FVulkanFramebuffer::ContainsRenderTarget ( FRHITexture Texture) const
inline

◆ ContainsRenderTarget() [2/2]

bool FVulkanFramebuffer::ContainsRenderTarget ( VkImage  Image) const
inline

◆ Destroy()

void FVulkanFramebuffer::Destroy ( FVulkanDevice Device)

◆ GetColorRenderTargetViewDesc()

FVulkanView * FVulkanFramebuffer::GetColorRenderTargetViewDesc ( FVulkanTexture Texture,
uint32  MipIndex,
int32  ArraySliceIndex,
uint32  MultiViewCount,
uint32 InOutNumLayers 
)
static

◆ GetColorResolveTargetViewDesc()

FVulkanView * FVulkanFramebuffer::GetColorResolveTargetViewDesc ( FVulkanTexture ResolveTexture,
uint32  MipIndex,
int32  ArraySliceIndex 
)
static

◆ GetDepthStencilResolveTargetViewDesc()

FVulkanView * FVulkanFramebuffer::GetDepthStencilResolveTargetViewDesc ( FVulkanTexture ResolveTexture,
uint32  MipIndex 
)
static

◆ GetDepthStencilTargetViewDesc()

FVulkanView * FVulkanFramebuffer::GetDepthStencilTargetViewDesc ( FVulkanTexture Texture,
uint32  NumColorAttachments,
uint32  MipIndex,
uint32 InOutNumLayers 
)
static

◆ GetFragmentDensityAttachmentViewDesc()

FVulkanView * FVulkanFramebuffer::GetFragmentDensityAttachmentViewDesc ( FVulkanTexture Texture,
uint32  MipIndex 
)
static

◆ GetHandle()

VkFramebuffer FVulkanFramebuffer::GetHandle ( )
inline

◆ GetNumColorAttachments()

uint32 FVulkanFramebuffer::GetNumColorAttachments ( ) const
inline

◆ GetPartialDepthTextureView()

const FVulkanView::FTextureView & FVulkanFramebuffer::GetPartialDepthTextureView ( ) const
inline

◆ GetRenderArea()

VkRect2D FVulkanFramebuffer::GetRenderArea ( ) const
inline

◆ Matches()

bool FVulkanFramebuffer::Matches ( const FRHISetRenderTargetsInfo RTInfo) const

Friends And Related Symbol Documentation

◆ FVulkanCommandListContext

Member Data Documentation

◆ AttachmentTextureViews

TArray<FVulkanView const*> FVulkanFramebuffer::AttachmentTextureViews

◆ PartialDepthTextureView

FVulkanView const* FVulkanFramebuffer::PartialDepthTextureView = nullptr

The documentation for this class was generated from the following files: