Flutter Engine
The Flutter Engine
|
#include <DrawOrder.h>
Every draw has an associated depth value. The value is constant across the entire draw and is not related to any varying Z coordinate induced by a 4x4 transform. The painter's depth is stored in the depth attachment and the GREATER depth test is used to reject or accept pixels/samples relative to what has already been rendered into the depth attachment. This allows draws that do not depend on the previous color to be radically re-ordered relative to their original painter's order while producing correct results.
Definition at line 85 of file DrawOrder.h.