FVulkanDynamicRHI::RHIReadSurfaceData

FlushType: Flush Immediate (seems wrong)

Windows
MacOS
Linux

Override Hierarchy

FDynamicRHI::RHIReadSurfaceData()

FVulkanDynamicRHI::RHIReadSurfaceData()

References

Module

VulkanRHI

Header

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

Include

#include "VulkanDynamicRHI.h"

Source

/Engine/Source/Runtime/VulkanRHI/Private/VulkanRenderTarget.cpp

Syntax

virtual void RHIReadSurfaceData
(
    FRHITexture * Texture,
    FIntRect Rect,
    TArray< FColor > & OutData,
    FReadSurfaceDataFlags InFlags
)

Remarks

Reads the contents of a texture to an output buffer (non MSAA and MSAA) and returns it as a FColor array. If the format or texture type is unsupported the OutData array will be size 0

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