IAllocatedVirtualTexture

This interface represents a chunk of VT data allocated and owned by the renderer module, backed by both a page table texture, and a physical texture cache for each layer.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/VirtualTexturing.h

Include

#include "VirtualTexturing.h"

Syntax

class IAllocatedVirtualTexture

Remarks

This interface represents a chunk of VT data allocated and owned by the renderer module, backed by both a page table texture, and a physical texture cache for each layer. Both page table and physical texture may be shared amongst many different allocated virtual textures. Any method that deals with physical texture requires an explicit LayerIndex parameter to identify the physical texture in question, methods that don't have LayerIndex parameter refer to properties shared by all textures using the given page table These are created with IRendererModule::AllocateVirtualTexture, and destroyed with IRendererModule::DestroyVirtualTexture They must be allocated from render thread, but may be destroyed from any thread

Variables

Name Description

Protected variable

uint32

 

BlockHeightInTiles

Protected variable

uint32

 

BlockWidthInTiles

Protected variable

uint32

 

DepthInTiles

Protected variable

FAllocatedVTDes...

 

Description

Protected variable

uint32

 

HeightInBlocks

Protected variable

uint32

 

MaxLevel

Protected variable

EVTPageTableFor...

 

PageTableFormat

Should be set explicitly by derived class constructor

Protected variable

uint32

 

SpaceID

Protected variable

uint32

 

VirtualAddress

Protected variable

uint32

 

WidthInBlocks

Constructors

Name Description

Public function

IAllocatedVirtualTexture

(
    const FAllocatedVTDescription& InD...,
    uint32 InBlockWidthInTiles,
    uint32 InBlockHeightInTiles,
    uint32 InWidthInBlocks,
    uint32 InHeightInBlocks,
    uint32 InDepthInTiles
)

Destructors

Name Description

Protected function Virtual

~IAllocatedVirtualTexture()

Functions

Constants

Name

Description

LayersPerPageTableTexture

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