Skip to main content

RESOURCE_TEXTURE_FORMAT

Constant RESOURCE_TEXTURE_FORMAT 

Source
pub const RESOURCE_TEXTURE_FORMAT: TextureFormat;
Expand description

The texture format both resource textures (alphas, encoded paints) use.

Rgba32Uint gives 16 bytes per texel with no format conversion applied on the sampling side, which is what lets the same texel hold either 16 packed coverage bytes or one quarter of a paint record.