Navigation
API > API/Runtime > API/Runtime/RenderCore
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
| Name | IAllocatedVirtualTexture |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/VirtualTexturing.h |
| Include Path | #include "VirtualTexturing.h" |
Syntax
class IAllocatedVirtualTexture
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
IAllocatedVirtualTexture
(
const FAllocatedVTDescription& InDesc, |
VirtualTexturing.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IAllocatedVirtualTexture() |
VirtualTexturing.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| LayersPerPageTableTexture | const uint32 | VirtualTexturing.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DumpToConsole
(
bool bVerbose |
VirtualTexturing.h | ||
uint32 GetBlockHeightInTiles() |
VirtualTexturing.h | ||
uint32 GetBlockWidthInTiles() |
VirtualTexturing.h | ||
uint32 GetDepthInPixels() |
VirtualTexturing.h | ||
uint32 GetDepthInTiles() |
VirtualTexturing.h | ||
const FAllocatedVTDescription & GetDescription() |
VirtualTexturing.h | ||
uint8 GetDimensions() |
VirtualTexturing.h | ||
uint32 GetHeightInBlocks() |
VirtualTexturing.h | ||
uint32 GetHeightInPixels() |
VirtualTexturing.h | ||
uint32 GetHeightInTiles() |
VirtualTexturing.h | ||
uint32 GetMaxLevel() |
VirtualTexturing.h | ||
uint32 GetNumPageTableTextures() |
VirtualTexturing.h | ||
uint32 GetNumTextureLayers() |
VirtualTexturing.h | ||
void GetPackedPageTableUniform
(
FUintVector4* OutUniform |
Writes 2x FUintVector4 | VirtualTexturing.h | |
void GetPackedUniform
(
FUintVector4* OutUniform, |
Writes 1x FUintVector4 | VirtualTexturing.h | |
EVTPageTableFormat GetPageTableFormat() |
VirtualTexturing.h | ||
FRHITexture * GetPageTableIndirectionTexture() |
VirtualTexturing.h | ||
FRHITexture * GetPageTableTexture
(
uint32 InPageTableIndex |
VirtualTexturing.h | ||
uint32 GetPersistentHash() |
VirtualTexturing.h | ||
FRHITexture * GetPhysicalTexture
(
uint32 InLayerIndex |
VirtualTexturing.h | ||
uint32 GetPhysicalTextureSize
(
uint32 InLayerIndex |
VirtualTexturing.h | ||
FRHIShaderResourceView * GetPhysicalTextureSRV
(
uint32 InLayerIndex, |
VirtualTexturing.h | ||
uint32 GetPhysicalTileSize() |
VirtualTexturing.h | ||
const FVirtualTextureProducerHandle & GetProducerHandle
(
uint32 InLayerIndex |
VirtualTexturing.h | ||
uint32 GetSpaceID() |
VirtualTexturing.h | ||
uint32 GetTileBorderSize() |
VirtualTexturing.h | ||
uint32 GetVirtualAddress() |
VirtualTexturing.h | ||
uint32 GetVirtualPageX() |
VirtualTexturing.h | ||
uint32 GetVirtualPageY() |
VirtualTexturing.h | ||
uint32 GetVirtualTileSize() |
VirtualTexturing.h | ||
uint32 GetWidthInBlocks() |
VirtualTexturing.h | ||
uint32 GetWidthInPixels() |
VirtualTexturing.h | ||
uint32 GetWidthInTiles() |
VirtualTexturing.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Destroy
(
FVirtualTextureSystem* InSystem |
VirtualTexturing.h | ||
bool TryMapLockedTiles
(
FVirtualTextureSystem* InSystem |
VirtualTexturing.h |