Enum PixelFormat
The client-side pixel format hint (the header's preferredFormat byte). For DXT-encoded files it selects the block format: Dxt1 -> BC1, Dxt3 -> BC2, Dxt5 -> BC3, Bc5 -> BC5.
public enum PixelFormat : byte
Fields
A8 = 6Alpha-only upload hint; never a file content layout.
Argb1555 = 316-bit 1555 upload hint; never a file content layout.
Argb2565 = 9Component-texture upload hint; never a file content layout.
Argb4444 = 416-bit 4444 upload hint; never a file content layout.
Argb8888 = 2Raw 32-bit upload hint (used by Bgra-encoded files).
Bc5 = 11BC5: two interpolated channels (normal maps, later clients).
Dxt1 = 0BC1: 8-byte blocks, optional 1-bit punch-through alpha.
Dxt3 = 1BC2: 16-byte blocks, explicit 4-bit alpha.
Dxt5 = 7BC3: 16-byte blocks, interpolated 8-bit alpha.
Rgb565 = 516-bit 565 upload hint; never a file content layout.
Unspecified = 8No preference recorded (typical for palettized files).