|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
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. | |
Runtime virtual texture UObject.
| int GetPageTableSize | ( | ) | const |
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 GetTileBorderSize | ( | ) | const |
Public getter for virtual texture tile border size.
| int GetTileCount | ( | ) | const |
Public getter for virtual texture tile count.
| int GetTileSize | ( | ) | const |
Public getter for virtual texture tile size.
| 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.
| 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).
|
static |
| 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.
| 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 bCompressTextures |
Enable storing the virtual texture in GPU supported compression formats. Using uncompressed is only recommended for debugging and quality comparisons.
| 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 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 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 bUseLowQualityCompression |
Use low quality textures (RGB565/RGB555A1) to replace runtime compression.
| TextureGroup LODGroup |
Texture group this texture belongs to.
| ERuntimeVirtualTextureMaterialType MaterialType |
Contents of virtual texture.
| const int PageTableSize |
Public getter for virtual texture page table size. This is only different from GetTileCount() when using an adaptive page table.
| 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.
| const int Size |
Deprecated size of virtual texture.
| 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.
| int TileSize |
Page tile size. (Actual values increase in powers of 2).