Submit primitive with occlusion query for rendering.
View id.
Program.
Occlusion query.
Depth for sorting.
Which states to discard for next draw. See BGFX_DISCARD_*.
See Implementation
Submit primitive with occlusion query for rendering.