Skip to main content

DEPTH_FORMAT

Constant DEPTH_FORMAT 

Source
pub const DEPTH_FORMAT: TextureFormat;
Expand description

The depth attachment format the depth-testing strip variants use.

24 bits is what the vertex stage’s z encoding is quantized to (it divides the painter’s-order index by 1 << 24), so a wider format would buy no extra ordering resolution.