Navigation
Unreal Engine C++ API Reference > Runtime > Engine > VT
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- URuntimeVirtualTexture
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/VT/RuntimeVirtualTexture.h |
Include | #include "VT/RuntimeVirtualTexture.h" |
Syntax
class URuntimeVirtualTexture : public UObject
Remarks
Runtime virtual texture UObject
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bAdaptive | Enable sparse adaptive page tables. |
![]() |
bool | bClearTextures | Enable clear before rendering a page of the virtual texture. |
![]() |
bool | bCompressTextures | Enable storing the virtual texture in GPU supported compression formats. |
![]() |
bool | bContinuousUpdate | Enable continuous update of the virtual texture pages. |
![]() |
bool | bPrivateSpace | Enable private page table allocation. |
![]() |
bool | bSinglePhysicalSpace | Enable page table channel packing. |
![]() |
bool | bUseLowQualityCompression | Use low quality textures (RGB565/RGB555A1) to replace runtime compression |
![]() |
TEnumAsByte< enum TextureGroup > | LODGroup | Texture group this texture belongs to |
![]() |
ERuntimeVirtualTextureMaterialType | MaterialType | Contents of virtual texture. |
![]() |
int32 | RemoveLowMips | Number of low mips to cut from the virtual texture. |
![]() |
int32 | TileBorderSize | Page tile border size divided by 2 (Actual values increase in multiples of 2). |
![]() |
int32 | TileCount | Size of virtual texture in tiles. |
![]() |
int32 | TileSize | Page tile size. (Actual values increase in powers of 2) |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
URuntimeVirtualTexture
(
const FObjectInitializer& ObjectInitializer |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Public getter for virtual texture using adaptive flag. | |
![]() ![]() |
IAllocatedVirtualTexture * | Getter for the associated virtual texture allocation. Call on render thread only. | |
![]() ![]() |
int32 | GetClampedTileCount
(
int32 InTileCount, |
|
![]() ![]() |
int32 | GetClampedTileSize
(
int32 InTileSize |
|
![]() ![]() |
bool | Returns true if texture pages should be cleared before render | |
![]() ![]() |
bool | Get if this virtual texture uses compressed texture formats. | |
![]() ![]() |
bool | Public getter for virtual texture using continuous update flag. | |
![]() ![]() |
int32 | Returns number of texture layers in the virtual texture | |
![]() ![]() |
int32 | GetLayerCount
(
ERuntimeVirtualTextureMaterialType InMaterialType |
Returns number of texture layers in the virtual texture of a given material type |
![]() ![]() |
EPixelFormat | GetLayerFormat
(
int32 LayerIndex |
Returns the texture format for the virtual texture layer |
![]() ![]() |
TEnumAsByte< enum TextureGroup > | GetLODGroup () |
Public getter for texture LOD Group |
![]() ![]() |
bool | Public getter for virtual texture using low quality compression flag. | |
![]() ![]() |
ERuntimeVirtualTextureMaterialType | Get the material set that this virtual texture stores. | |
![]() ![]() |
int32 | GetMaxTileCountLog2
(
bool InAdaptive |
|
![]() ![]() |
int32 | Public getter for virtual texture page table size. | |
![]() ![]() |
bool | Public getter for virtual texture using private space flag. | |
![]() ![]() |
void | GetProducerDescription
(
FVTProducerDescription& OutDesc, |
Get virtual texture description based on the properties of this object and the passed in volume transform. |
![]() ![]() |
FVirtualTextureProducerHandle | Getter for the associated virtual texture producer. Call on render thread only. | |
![]() ![]() |
int32 | Public getter for virtual texture removed low mips | |
![]() ![]() |
bool | Public getter for virtual texture using single physical space flag. | |
![]() ![]() |
int32 | GetSize () |
Public getter for virtual texture size. This is derived from the TileCount and TileSize. |
![]() ![]() |
int32 | Public getter for virtual texture tile border size | |
![]() ![]() |
int32 | GetTileCount () |
Public getter for virtual texture tile count |
![]() ![]() |
int32 | GetTileSize () |
Public getter for virtual texture tile size |
![]() ![]() |
FVector4 | GetUniformParameter
(
int32 Index |
Getter for the shader uniform parameters. |
![]() ![]() |
UE::Shader::EValueType | GetUniformParameterType
(
int32 Index |
Getter for the shader uniform parameter type. |
![]() |
void | Initialize
(
IVirtualTexture* InProducer, |
(Re)Initialize this object. Call this whenever we modify the producer or transform. |
![]() |
void | Initialize the render resources with a null producer. This kicks off render thread work. | |
![]() |
void | InitResource
(
IVirtualTexture* InProducer, |
Initialize the render resources. This kicks off render thread work. |
![]() ![]() |
bool | IsLayerSRGB
(
int32 LayerIndex |
Return true if the virtual texture layer should be sampled as sRGB |
![]() ![]() |
bool | IsLayerYCoCg
(
int32 LayerIndex |
Return true if the virtual texture layer should be sampled as YCoCg |
![]() |
void | Release () |
Release the resources for this object This will need to be called if our producer becomes stale and we aren't doing a full reinit with a new producer. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects |
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
![]() ![]() |
void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FInitSettings | Structure containing additional settings for initializing the producer. |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() |
int32 | Size_DEPRECATED | Deprecated size of virtual texture. |
![]() |
TObjectPtr< class URuntimeVirtualTextureStreamingProxy > | StreamingTexture_DEPRECATED | Deprecated texture object containing streamed low mips. |