Navigation
API > API/Runtime > API/Runtime/RenderCore
This is the interface that can produce tiles of virtual texture data This can be extended to represent different ways of generating VT, such as disk streaming, runtime compositing, or whatever It's provided to the renderer module
| Name | IVirtualTexture |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/VirtualTexturing.h |
| Include Path | #include "VirtualTexturing.h" |
Syntax
class IVirtualTexture
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
IVirtualTexture() |
VirtualTexturing.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IVirtualTexture() |
VirtualTexturing.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DumpToConsole
(
bool verbose |
Dump any type specific debug info. | VirtualTexturing.h | |
virtual void GatherProducePageDataTasks
(
FVirtualTextureProducerHandle const& ProducerHandle, |
Collect all task graph events. | VirtualTexturing.h | |
virtual void GatherProducePageDataTasks
(
uint64 RequestHandle, |
Collect all task graph events related to a request. | VirtualTexturing.h | |
virtual uint32 GetLocalMipBias
(
uint8 vLevel, |
Gives a localized mip bias for the given local vAddress. | VirtualTexturing.h | |
bool IsPageStreamed
(
uint8 vLevel, |
Whether data for the given page is streamed (e.g. loading from disk). | VirtualTexturing.h | |
virtual void OnRequestsCompleted() |
Called on every virtual texture system update once all requests are completed, if bNotifyCompleted is enabled. | VirtualTexturing.h | |
IVirtualTextureFinalizer * ProducePageData
(
FRHICommandListBase& RHICmdList, |
Upload page data to the cache, data must have been previously requested, and reported either 'Available' or 'Pending' The system will attempt to call RequestPageData/ProducePageData only once for a given vLevel/vAddress, with all the requested layers set in LayerMask, this is important for certain types of procedural producers that may generate multiple layers of VT data at the same time It's valid to produce 'Pending' page data, but in this case ProducePageData may block until data is ready Only called from render thread | VirtualTexturing.h | |
FVTRequestPageResult RequestPageData
(
FRHICommandListBase& RHICmdList, |
Makes a request for the given page data. | VirtualTexturing.h |