Scripting API

Scripting API

ImportedFormat

Enum in Abyss.Core, from Abyss.Core.

What the GPU is given of an imported texture.

public enum ImportedFormat : uint

Remarks

The block formats are four by four texels a block, which the hardware decodes as it samples.

Values

NameValueDescription
Rgba8Srgb1Four bytes a texel, sRGB-encoded color the hardware decodes.
Rgba82Four bytes a texel, numbers a shader reads.
R83One byte a texel, a single channel's numbers.
Bc1Srgb4Eight bytes a block, opaque sRGB color.
Bc15Eight bytes a block, opaque color as numbers.
Bc3Srgb6Sixteen bytes a block, sRGB color and its alpha.
Bc37Sixteen bytes a block, color and alpha as numbers.
Bc48Eight bytes a block, one channel.
Bc59Sixteen bytes a block, a normal map's X and Y, its Z made from them.
Bc7Srgb10Sixteen bytes a block, sRGB color and alpha, nearer the picture than BC3.
Bc711Sixteen bytes a block, color and alpha as numbers.