Scripting API
Scripting API
ImportCompression
Enum in Abyss.Core, from Abyss.Core.
Whether an imported texture is block-compressed, and how well.
public enum ImportCompression : uintRemarks
A compressed texture is kept on the GPU in blocks of four by four texels, a fixed number of bytes each, which the hardware decodes as it samples: a quarter or an eighth of the memory, at some of its detail. Which format a texture takes follows from its type and whether it has alpha.
Values
| Name | Value | Description |
|---|---|---|
Default | 0 | Nothing said, which is ImportCompression.NormalQuality. |
Uncompressed | 1 | Every texel as it was made, four bytes each, or one for a single channel. |
LowQuality | 2 | The smallest format for the texture; for now the one ImportCompression.NormalQuality picks, on every platform. |
NormalQuality | 3 | BC1 for color, BC3 with alpha, BC5 for a normal map, BC4 for a single channel. |
HighQuality | 4 | BC7 for color, with alpha or without: BC3's memory, nearer the picture. |
