G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
URuntimeVirtualTexture Class Reference

Runtime virtual texture UObject. More...

Public Member Functions

Functions
int GetTileCount () const
 Public getter for virtual texture tile count.
int GetTileBorderSize () const
 Public getter for virtual texture tile border size.
int GetTileSize () const
 Public getter for virtual texture tile size.
void SetTileCount (const int &Value)
 Size of virtual texture in tiles. (Actual values increase in powers of 2). This is applied to the largest axis in world space and the size for any shorter axis is chosen to maintain aspect ratio.
void SetTileSize (const int &Value)
 Page tile size. (Actual values increase in powers of 2).
void SetTileBorderSize (const int &Value)
 Page tile border size divided by 2 (Actual values increase in multiples of 2). Higher values trigger a higher anisotropic sampling level.
Public Member Functions inherited from UObject
bool MarkPackageDirty () const
void RemoveFromRoot ()
bool GetIsRooted () const
bool IsTransient () const
bool Modify (bool bAlwaysMarkDirty=true)
void SetTransactional (bool bTransactional)
bool IsSupportedForNetworking () const
UClass GetClass () const
UObject GetOuter () const
UObject GetTypedOuter (TSubclassOf< UObject > Target) const
 Traverses the outer chain searching for the next object of a certain type.
UPackage GetOutermost () const
UPackage GetPackage () const
void AddToRoot ()
UWorld GetWorld () const
FName GetName () const
FString GetFullName (const UObject StopOuter=nullptr) const
FString GetPathName (const UObject StopOuter=nullptr) const
bool IsA (const UClass Class) const
 Returns true if this object is of the specified type, or a child of that type.
void SaveConfig ()
void LoadConfig ()
void ReloadConfig ()
void CopyScriptPropertiesFrom (const UObject OtherObject)
void opCast (?&Address) const
FString ToString () const

Static Public Member Functions

Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

Layout
bool bContinuousUpdate
 Enable continuous update of the virtual texture pages. This round-robin updates already mapped pages and can help fix pages that are mapped before dependent textures are fully streamed in.
bool bCompressTextures
 Enable storing the virtual texture in GPU supported compression formats. Using uncompressed is only recommended for debugging and quality comparisons.
int RemoveLowMips
 Number of low mips to cut from the virtual texture. This can reduce peak virtual texture update cost but will also increase the probability of mip shimmering.
bool bClearTextures
 Enable clear before rendering a page of the virtual texture. Disabling this can be an optimization if you know that the texture will always be fully covered by rendering.
bool bSinglePhysicalSpace
 Enable page table channel packing. This reduces page table memory and update cost but can reduce the ability to share physical memory with other virtual textures.
bool bPrivateSpace
 Enable private page table allocation. This can reduce total page table memory allocation but can also reduce the total number of virtual textures supported.
bool bAdaptive
 Enable sparse adaptive page tables. This supports larger tile counts but adds an indirection cost when sampling the virtual texture. It is recommended only when very large virtual resolutions are necessary.
ERuntimeVirtualTextureMaterialType MaterialType
 Contents of virtual texture.
LevelOfDetail
TextureGroup LODGroup
 Texture group this texture belongs to.
Performance
bool bUseLowQualityCompression
 Use low quality textures (RGB565/RGB555A1) to replace runtime compression.
Variables
const int Size
 Deprecated size of virtual texture.
Public Attributes inherited from UObject
const UClass Class
const UObject Outer
const UPackage Outermost
const UPackage Package
const UWorld World
const FName Name
const bool IsRooted

Size

int TileSize
 Page tile size. (Actual values increase in powers of 2).
int TileBorderSize
 Page tile border size divided by 2 (Actual values increase in multiples of 2). Higher values trigger a higher anisotropic sampling level.
int TileCount
 Size of virtual texture in tiles. (Actual values increase in powers of 2). This is applied to the largest axis in world space and the size for any shorter axis is chosen to maintain aspect ratio.
const int PageTableSize
 Public getter for virtual texture page table size. This is only different from GetTileCount() when using an adaptive page table.
int GetSize () const
 Public getter for virtual texture size. This is derived from the TileCount and TileSize.
int GetPageTableSize () const
 Public getter for virtual texture page table size. This is only different from GetTileCount() when using an adaptive page table.

Detailed Description

Runtime virtual texture UObject.

Member Function Documentation

◆ GetPageTableSize()

int GetPageTableSize ( ) const

Public getter for virtual texture page table size. This is only different from GetTileCount() when using an adaptive page table.

◆ GetSize()

int GetSize ( ) const

Public getter for virtual texture size. This is derived from the TileCount and TileSize.

◆ GetTileBorderSize()

int GetTileBorderSize ( ) const

Public getter for virtual texture tile border size.

◆ GetTileCount()

int GetTileCount ( ) const

Public getter for virtual texture tile count.

◆ GetTileSize()

int GetTileSize ( ) const

Public getter for virtual texture tile size.

◆ SetTileBorderSize()

void SetTileBorderSize ( const int & Value)

Page tile border size divided by 2 (Actual values increase in multiples of 2). Higher values trigger a higher anisotropic sampling level.

◆ SetTileCount()

void SetTileCount ( const int & Value)

Size of virtual texture in tiles. (Actual values increase in powers of 2). This is applied to the largest axis in world space and the size for any shorter axis is chosen to maintain aspect ratio.

◆ SetTileSize()

void SetTileSize ( const int & Value)

Page tile size. (Actual values increase in powers of 2).

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ bAdaptive

bool bAdaptive

Enable sparse adaptive page tables. This supports larger tile counts but adds an indirection cost when sampling the virtual texture. It is recommended only when very large virtual resolutions are necessary.

◆ bClearTextures

bool bClearTextures

Enable clear before rendering a page of the virtual texture. Disabling this can be an optimization if you know that the texture will always be fully covered by rendering.

◆ bCompressTextures

bool bCompressTextures

Enable storing the virtual texture in GPU supported compression formats. Using uncompressed is only recommended for debugging and quality comparisons.

◆ bContinuousUpdate

bool bContinuousUpdate

Enable continuous update of the virtual texture pages. This round-robin updates already mapped pages and can help fix pages that are mapped before dependent textures are fully streamed in.

◆ bPrivateSpace

bool bPrivateSpace

Enable private page table allocation. This can reduce total page table memory allocation but can also reduce the total number of virtual textures supported.

◆ bSinglePhysicalSpace

bool bSinglePhysicalSpace

Enable page table channel packing. This reduces page table memory and update cost but can reduce the ability to share physical memory with other virtual textures.

◆ bUseLowQualityCompression

bool bUseLowQualityCompression

Use low quality textures (RGB565/RGB555A1) to replace runtime compression.

◆ LODGroup

TextureGroup LODGroup

Texture group this texture belongs to.

◆ MaterialType

Contents of virtual texture.

◆ PageTableSize

const int PageTableSize

Public getter for virtual texture page table size. This is only different from GetTileCount() when using an adaptive page table.

◆ RemoveLowMips

int RemoveLowMips

Number of low mips to cut from the virtual texture. This can reduce peak virtual texture update cost but will also increase the probability of mip shimmering.

◆ Size

const int Size

Deprecated size of virtual texture.

◆ TileBorderSize

int TileBorderSize

Page tile border size divided by 2 (Actual values increase in multiples of 2). Higher values trigger a higher anisotropic sampling level.

◆ TileCount

int TileCount

Size of virtual texture in tiles. (Actual values increase in powers of 2). This is applied to the largest axis in world space and the size for any shorter axis is chosen to maintain aspect ratio.

◆ TileSize

int TileSize

Page tile size. (Actual values increase in powers of 2).