IVirtualTexture

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

Windows
MacOS
Linux

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

Name Description

Public function

IVirtualTexture()

Destructors

Name Description

Public function Virtual

~IVirtualTexture()

Functions

Name Description

Public function Virtual

void

 

DumpToConsole

(
    bool verbose
)

Public function Virtual Const

uint32

 

GetLocalMipBias

(
    uint8 vLevel,
    uint32 vAddress
)

Gives a localized mip bias for the given local vAddress.

Public function

IVirtualText...

 

ProducePageData

(
    FRHICommandListImmediate& RHICmdLi...,
    ERHIFeatureLevel::Type FeatureLevel,
    EVTProducePageFlags Flags,
    const FVirtualTextureProducerHandle...,
    uint8 LayerMask,
    uint8 vLevel,
    uint64 vAddress,
    uint64 RequestHandle,
    const FVTProduceTargetLayer* T...
)

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

Public function

FVTRequestPa...

 

RequestPageData

(
    const FVirtualTextureProducerHandle...,
    uint8 LayerMask,
    uint8 vLevel,
    uint64 vAddress,
    EVTRequestPagePriority Priority
)

Makes a request for the given page data.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss