Navigation
API > API/Runtime > API/Runtime/RenderCore
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().
| Name | IVirtualTextureFinalizer |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/VirtualTexturing.h |
| Include Path | #include "VirtualTexturing.h" |
Syntax
class IVirtualTextureFinalizer
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Finalize
(
FRDGBuilder& GraphBuilder |
Finalize work that has write only access to the virtual texture physical pools. | VirtualTexturing.h | |
virtual void RenderFinalize
(
FRDGBuilder& GraphBuilder, |
Finalize work that has read only access to the virtual texture physical pools. | VirtualTexturing.h |