![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <VirtualTexturing.h>
Inheritance diagram for IVirtualTextureFinalizer:Public Member Functions | |
| virtual void | RenderFinalize (FRDGBuilder &GraphBuilder, ISceneRenderer *SceneRenderingContext) |
| virtual void | Finalize (FRDGBuilder &GraphBuilder)=0 |
A Finalizer is an object that does the final work of filling the physical textures. The work for all finalizers is scheduled at a specific point in the frame where we can write to the physical texture without hazards, and where the virtual texture page tables are also updated. The finalizer work may be split into two parts. RenderFinalize() does not write to the physical texture, but can read from virtual textures. This is a phase that allows any page rendering which may need to sample virtual textures. Runtime virtual textures and material systems require this. Finalise() must write to the physical textures, but cannot sample from them. All finalizers need to implement Finalize() but only ones that need to sample virtual textures need to implement RenderFinalize().
|
pure virtual |
Finalize work that has write only access to the virtual texture physical pools.
Implemented in FTextureCollectionVirtualAdapterFinalizer, FVirtualTextureAdapterFinalizer, FVirtualTextureUploadCache, FMaterialCacheVirtualFinalizer, and FRuntimeVirtualTextureFinalizer.
|
inlinevirtual |
Finalize work that has read only access to the virtual texture physical pools.
Reimplemented in FRuntimeVirtualTextureFinalizer, FTextureCollectionVirtualAdapterFinalizer, and FMaterialCacheVirtualFinalizer.