UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VirtualTextureFeedbackBuffer.h File Reference
#include "CoreMinimal.h"
#include "RHI.h"

Go to the source code of this file.

Classes

struct  FVirtualTextureFeedbackBufferDesc
 

Functions

RENDERER_API void SubmitVirtualTextureFeedbackBuffer (FRHICommandList &RHICmdList, FBufferRHIRef const &InBuffer, FVirtualTextureFeedbackBufferDesc const &InDesc)
 
RENDERER_API void SubmitVirtualTextureFeedbackBuffer (FRDGBuilder &GraphBuilder, FRDGBuffer *InBuffer, FVirtualTextureFeedbackBufferDesc const &InDesc)
 

Function Documentation

◆ SubmitVirtualTextureFeedbackBuffer() [1/2]

RENDERER_API void SubmitVirtualTextureFeedbackBuffer ( FRDGBuilder GraphBuilder,
FRDGBuffer InBuffer,
FVirtualTextureFeedbackBufferDesc const &  InDesc 
)

◆ SubmitVirtualTextureFeedbackBuffer() [2/2]

RENDERER_API void SubmitVirtualTextureFeedbackBuffer ( FRHICommandList RHICmdList,
FBufferRHIRef const &  InBuffer,
FVirtualTextureFeedbackBufferDesc const &  InDesc 
)

Submit an RHIBuffer containing virtual texture feedback data to the virtual texture system. The buffer is internally copied to the CPU and parsed to determine which virtual texture pages need to be mapped. RHIBuffers that are passed in are expected to have been transitioned to a state for reading. Multiple buffers can be transferred per frame using this function. The function can be called from the render thread only.