Navigation
API > API/Runtime > API/Runtime/RenderCore
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/VirtualTexturing.h |
| Include | #include "VirtualTexturing.h" |
Syntax
class IVirtualTexture
Remarks
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
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DumpToConsole
(
bool verbose |
Dump any type specific debug info. | |
| void | GatherProducePageDataTasks
(
FVirtualTextureProducerHandle const& ProducerHandle, |
Collect all task graph events. | |
| void | GatherProducePageDataTasks
(
uint64 RequestHandle, |
Collect all task graph events related to a request. | |
| uint32 | GetLocalMipBias
(
uint8 vLevel, |
Gives a localized mip bias for the given local vAddress. | |
| bool | IsPageStreamed
(
uint8 vLevel, |
Whether data for the given page is streamed (e.g. loading from disk). | |
| void | Called on every virtual texture system update once all requests are completed, if bNotifyCompleted is enabled. | ||
| IVirtualTextureFinalizer * | ProducePageData
(
FRHICommandList& 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 | |
| FVTRequestPageResult | RequestPageData
(
FRHICommandList& RHICmdList, |
Makes a request for the given page data. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| FVTRequestPageResult | RequestPageData
(
const FVirtualTextureProducerHandle& ProducerHandle, |
RequestPageData now requires an RHI command list. |