Practice free →
Home › Per LearnOpenGL (depth testing), the Z-BUFFER st…

Per LearnOpenGL (depth testing), the Z-BUFFER stores which value at each pixel?

ATexture coordinate u only
BDepth (distance from camera)
CTriangle ID per fragment
DBrightness scalar value only
Answer & Solution
Correct answer: B. Depth (distance from camera)
LearnOpenGL Depth Test: Z-buffer stores per-pixel depth. New fragments pass only if closer than current; sorts occlusion automatically.
Solve this in the app — Practice practice & 24k+ MCQs →
Related questions