Renderer · type

BlockFormat

BC1 to BC5 and BC7; ETC2's three and EAC's two; and ASTC at every block size the LDR profile has. BC6H, ASTC HDR and the signed forms are not among them.

Explained in Hello world.

type BlockFormat = 'bc1' | 'bc2' | 'bc3' | 'bc4' | 'bc5' | 'bc7' | 'etc2-rgb8' | 'etc2-rgb8a1' | 'etc2-rgba8' | 'eac-r11' | 'eac-rg11' | 'astc-4x4' | 'astc-5x4' | 'astc-5x5' | 'astc-6x5' | 'astc-6x6' | 'astc-8x5' | 'astc-8x6' | 'astc-8x8' | 'astc-10x5' | 'astc-10x6' | 'astc-10x8' | 'astc-10x10' | 'astc-12x10' | 'astc-12x12'
import type { BlockFormat } from '@driftengine/core';