Navigation
API > API/Runtime > API/Runtime/Engine
This instruction reads a virtual texture (VT) page table and is allocated alongside VT sampling instructions.
| Name | FVTPageTableRead |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialIR.h |
| Include Path | #include "Materials/MaterialIR.h" |
Syntax
struct FVTPageTableRead : public MIR::TInstruction< VK_VTPageTableRead, 5 >
Inheritance Hierarchy
- FValue → FInstruction → TInstruction → FVTPageTableRead
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AddressU | TextureAddress | Texture address mode for U axis. | Materials/MaterialIR.h | |
| AddressV | TextureAddress | Texture address mode for V axis. | Materials/MaterialIR.h | |
| bEnableFeedback | bool | Enables VT texture sampling feedback. | Materials/MaterialIR.h | |
| bIsAdaptive | bool | Determines whether adaptive or regular VT page table loads will be emitted, i.e. TextureLoadVirtualPageTable*() or TextureLoadVirtualPageTableAdaptive*(). | Materials/MaterialIR.h | |
| MipValue | FValue * | Used with TMVM_MipBias and TMVM_MipLevel. | Materials/MaterialIR.h | |
| MipValueMode | ETextureMipValueMode | Specifies the sampler function to read the page table, i.e. TextureLoadVirtualPageTable(), TextureLoadVirtualPageTableGrad(), or TextureLoadVirtualPageTableLevel(). | Materials/MaterialIR.h | |
| TexCoord | FValue * | The texture coordinate at which to sample. | Materials/MaterialIR.h | |
| TexCoordDdx | FValue * | Optional. The analytical partial derivative of the coordinates along the X axis. | Materials/MaterialIR.h | |
| TexCoordDdy | FValue * | Optional. The analytical partial derivative of the coordinates along the Y axis. | Materials/MaterialIR.h | |
| TextureObject | FValue * | The texture object to load the page table for. | Materials/MaterialIR.h | |
| VTPageTableIndex | int32 | Index of the VT page table. This is determined in the analysis stage. | Materials/MaterialIR.h | |
| VTStackIndex | int32 | Index of the virtual texture slot. This is determined in the analysis stage. | Materials/MaterialIR.h |