Navigation
API > API/Runtime > API/Runtime/Engine
Configuration for virtual texture physical pool sizes.
| Name | UVirtualTexturePoolConfig |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/VT/VirtualTexturePoolConfig.h |
| Include Path | #include "VT/VirtualTexturePoolConfig.h" |
Syntax
UCLASS (Config=Engine, defaultconfig, Meta=(DisplayName="Virtual Texture Pool"), MinimalAPI)
class UVirtualTexturePoolConfig : public UDeveloperSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDeveloperSettings → UVirtualTexturePoolConfig
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UVirtualTexturePoolConfig
(
const FObjectInitializer& ObjectInitializer |
VT/VirtualTexturePoolConfig.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bPoolAutoGrowInEditor | bool | Enable physical pools growing on oversubscription. | VT/VirtualTexturePoolConfig.h |
|
| DefaultSizeInMegabyte | int32 | Upper size limit in megabytes for any pools not explicitly matched by a config entry in the Pools array. | VT/VirtualTexturePoolConfig.h |
|
| Pools | TArray< FVirtualTextureSpacePoolConfig > | Serialized array of configs. | VT/VirtualTexturePoolConfig.h |
|
| TransientPools | TArray< FVirtualTextureSpacePoolConfig > | Transient array of runtime detected configs used by the PoolAutoGrow system. | VT/VirtualTexturePoolConfig.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddOrModifyTransientPoolConfig
(
FVirtualTextureSpacePoolConfig const& InConfig |
Add a transient config. | VT/VirtualTexturePoolConfig.h | |
void FindPoolConfig
(
TEnumAsByte< EPixelFormat > const* InFormats, |
Find a matching config by first searching the TransientPools and then the Pools. | VT/VirtualTexturePoolConfig.h |
Overridden from UDeveloperSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
VT/VirtualTexturePoolConfig.h |