Scripting API
Scripting API
ImportedFormat
Enum in Abyss.Core, from Abyss.Core.
What the GPU is given of an imported texture.
public enum ImportedFormat : uintRemarks
The block formats are four by four texels a block, which the hardware decodes as it samples.
Values
| Name | Value | Description |
|---|---|---|
Rgba8Srgb | 1 | Four bytes a texel, sRGB-encoded color the hardware decodes. |
Rgba8 | 2 | Four bytes a texel, numbers a shader reads. |
R8 | 3 | One byte a texel, a single channel's numbers. |
Bc1Srgb | 4 | Eight bytes a block, opaque sRGB color. |
Bc1 | 5 | Eight bytes a block, opaque color as numbers. |
Bc3Srgb | 6 | Sixteen bytes a block, sRGB color and its alpha. |
Bc3 | 7 | Sixteen bytes a block, color and alpha as numbers. |
Bc4 | 8 | Eight bytes a block, one channel. |
Bc5 | 9 | Sixteen bytes a block, a normal map's X and Y, its Z made from them. |
Bc7Srgb | 10 | Sixteen bytes a block, sRGB color and alpha, nearer the picture than BC3. |
Bc7 | 11 | Sixteen bytes a block, color and alpha as numbers. |
