Luna::RHI::OcclusionQueryMode
enum OcclusionQueryMode : u8
{
binary= 0
counting= 1
}
Specifies the occlusion query working mode.
Options
-
Begins a binary occlusion query. In this query mode, the stored value will be 0 if no pixel passes the depth/stencil test, and will be non-zero if any pixel passes the depth/stencil test. Note that the stored value is platform-dependent if it is not 0, and may not always be 1.
-
Begins a counting occlusion query. In this query mode, the exact number of pixels that pass the depth/stencil test will be stored.