![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Classes | |
| struct | FInitDesc |
Public Member Functions | |
| void | Init (FRDGBuilder &GraphBuilder, FInitDesc const &Desc) |
Static Public Member Functions | |
| static void | SetupRenderTargetsInfo (ERuntimeVirtualTextureMaterialType MaterialType, ERHIFeatureLevel::Type FeatureLevel, bool bLQFormat, FGraphicsPipelineRenderTargetsInfo &RenderTargetsInfo) |
| static FRDGTextureDesc | CreateTextureDesc (FIntPoint Size, EPixelFormat Format, FClearValueBinding ClearValue, ETextureCreateFlags Flags, uint16 ArraySize) |
| static FRDGTextureSRVRef | CreateTextureSRV (FRDGBuilder &GraphBuilder, FRDGTextureRef Texture, int32 ArraySlice) |
Structure to localize the setup of our render graph based on the virtual texture setup.
|
inlinestatic |
CreateTextureDesc() creates a texture2Darray if we have page batch size > 1 or a simple texture2D otherwise.
|
inlinestatic |
CreateTextureSRV() createss an SRV for a single slice if Texture is a texture array.
|
inline |
Initialize the graph setup.
|
inlinestatic |
Flags to express what passes we need for this virtual texture layout.
| FRDGTextureRef RuntimeVirtualTexture::FRenderGraphSetup::CompressTexture0 = nullptr |
| FRDGTextureRef RuntimeVirtualTexture::FRenderGraphSetup::CompressTexture1 = nullptr |
| FRDGTextureRef RuntimeVirtualTexture::FRenderGraphSetup::CompressTexture2 = nullptr |
| FRDGTextureUAVRef RuntimeVirtualTexture::FRenderGraphSetup::CompressTextureUAV0_128bit = nullptr |
| FRDGTextureUAVRef RuntimeVirtualTexture::FRenderGraphSetup::CompressTextureUAV0_64bit = nullptr |
| FRDGTextureUAVRef RuntimeVirtualTexture::FRenderGraphSetup::CompressTextureUAV1_128bit = nullptr |
| FRDGTextureUAVRef RuntimeVirtualTexture::FRenderGraphSetup::CompressTextureUAV1_64bit = nullptr |
| FRDGTextureUAVRef RuntimeVirtualTexture::FRenderGraphSetup::CompressTextureUAV2_128bit = nullptr |
| FRDGTextureUAVRef RuntimeVirtualTexture::FRenderGraphSetup::CompressTextureUAV2_64bit = nullptr |
| FRDGTextureRef RuntimeVirtualTexture::FRenderGraphSetup::CopyTexture0 = nullptr |
| FRDGTextureRef RuntimeVirtualTexture::FRenderGraphSetup::CopyTexture1 = nullptr |
| FRDGTextureRef RuntimeVirtualTexture::FRenderGraphSetup::CopyTexture2 = nullptr |
| FRDGTextureRef RuntimeVirtualTexture::FRenderGraphSetup::OutputAlias0 = nullptr |
Aliases to one of the render/compress/copy textures. This is what we will Copy into the final physical texture.
| FRDGTextureRef RuntimeVirtualTexture::FRenderGraphSetup::OutputAlias1 = nullptr |
| FRDGTextureRef RuntimeVirtualTexture::FRenderGraphSetup::OutputAlias2 = nullptr |
| FRDGTextureRef RuntimeVirtualTexture::FRenderGraphSetup::RenderTexture0 = nullptr |
Render graph textures needed for this virtual texture layout.
| FRDGTextureRef RuntimeVirtualTexture::FRenderGraphSetup::RenderTexture1 = nullptr |
| FRDGTextureRef RuntimeVirtualTexture::FRenderGraphSetup::RenderTexture2 = nullptr |
| FRDGTextureRef RuntimeVirtualTexture::FRenderGraphSetup::TargetTexture0 = nullptr |
If we have output aliases, then these will containg the final physical texture targets.
| FRDGTextureRef RuntimeVirtualTexture::FRenderGraphSetup::TargetTexture1 = nullptr |
| FRDGTextureRef RuntimeVirtualTexture::FRenderGraphSetup::TargetTexture2 = nullptr |