Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/VT
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UStreamableRenderAsset
- UTexture
- UVirtualTextureAdapter
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/VT/VirtualTextureAdapter.h |
| Include | #include "VT/VirtualTextureAdapter.h" |
Syntax
UCLASS (ClassGroup=Rendering, BlueprintType, MinimalAPI)
class UVirtualTextureAdapter : public UTexture
Remarks
Adapter object that wraps a regular UTexture and allows it to be referenced as a virtual texture in materials. The virtual texture pages are filled on demand by copying from the wrapped texture. This isn't memory efficient or performant, but can be useful for certain debugging or previewing modes where we don't want to change the material, but do want to bind a non-virtual texture to an existing virtual texture sample.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUseDefaultTileSizes | Set to true if we want to use the default project virtual texture tile settings. | |
| TObjectPtr< class UTexture2D > | OverrideWithTextureFormat | Optional UTexture object that has the final texture format that we would like to use. | |
| TObjectPtr< UTexture > | Texture | The UTexture object to wrap. | |
| int32 | TileBorderSize | Page tile border size. (Will be rounded up to multiple of 2). | |
| int32 | TileSize | Page tile size. (Will be rounded up to power of 2). |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UVirtualTextureAdapter
(
const FObjectInitializer& ObjectInitializer |
Functions
Overridden from UTexture
| Type | Name | Description | |
|---|---|---|---|
| FTextureResource * | Implemented by subclasses to create a new resource for the texture. | ||
| EMaterialValueType | |||
| uint32 | |||
| float | |||
| float | |||
| float | |||
| ETextureClass | Get Texture Class | ||
| bool | Returns if the texture is actually being rendered using virtual texturing right now. |