Navigation
API > API/Runtime > API/Runtime/RenderCore
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
| Type | Name | Description | |
|---|---|---|---|
| uint32 | BlockHeightInTiles | ||
| uint32 | BlockWidthInTiles | ||
| uint32 | DepthInTiles | ||
| FAllocatedVTDescription | Description | ||
| uint32 | FrameDeleted | ||
| uint32 | HeightInBlocks | ||
| uint32 | MaxLevel | ||
| int32 | NumRefs | ||
| EVTPageTableFormat | PageTableFormat | Should be set explicitly by derived class constructor | |
| uint32 | SpaceID | ||
| uint32 | VirtualAddress | ||
| uint32 | VirtualPageX | ||
| uint32 | VirtualPageY | ||
| uint32 | WidthInBlocks |
Constructors
| Type | Name | Description | |
|---|---|---|---|
IAllocatedVirtualTexture
(
const FAllocatedVTDescription& InDesc, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Destroy
(
FVirtualTextureSystem* InSystem |
||
| void | DumpToConsole
(
bool bVerbose |
||
| uint32 | |||
| uint32 | |||
| uint32 | |||
| uint32 | |||
| const FAllocatedVTDescription & | |||
| uint8 | |||
| uint32 | |||
| uint32 | |||
| uint32 | |||
| uint32 | GetMaxLevel () |
||
| uint32 | |||
| uint32 | |||
| void | GetPackedPageTableUniform
(
FUintVector4* OutUniform |
Writes 2x FUintVector4 | |
| void | GetPackedUniform
(
FUintVector4* OutUniform, |
Writes 1x FUintVector4 | |
| EVTPageTableFormat | |||
| FRHITexture * | |||
| FRHITexture * | GetPageTableTexture
(
uint32 InPageTableIndex |
||
| uint32 | |||
| FRHITexture * | GetPhysicalTexture
(
uint32 InLayerIndex |
||
| uint32 | GetPhysicalTextureSize
(
uint32 InLayerIndex |
||
| FRHIShaderResourceView * | GetPhysicalTextureSRV
(
uint32 InLayerIndex, |
||
| uint32 | |||
| const FVirtualTextureProducerHandle & | GetProducerHandle
(
uint32 InLayerIndex |
||
| uint32 | GetSpaceID () |
||
| uint32 | |||
| uint32 | |||
| uint32 | |||
| uint32 | |||
| uint32 | |||
| uint32 | |||
| uint32 | |||
| uint32 | |||
| bool | TryMapLockedTiles
(
FVirtualTextureSystem* InSystem |
Constants
| Name | Description |
|---|---|
| LayersPerPageTableTexture |