Skip to content

Documentation / spryte / TargetFormat

Type Alias: TargetFormat ​

TargetFormat = "rgba8" | "rgba16f"

Defined in: target.ts:5

How a render target stores each pixel. rgba8 (the default) holds 0 to 1 in 8 bits a channel. rgba16f holds half floats, so values can pass 1 (light that adds up, bloom thresholds) and dark gradients don't band. Since 0.13.