OpenGL Distilled
A.2. Occlusion Queries
Occlusion queries, added in OpenGL version 1.5, allow applications to determine efficiently whether geometry is visible. Applications use occlusion queries to avoid sending complex geometry to OpenGL when the geometry isn't visible. To use the occlusion query feature:
This overview of occlusion queries might not result in maximum performance. appendix C, "Performance," describes a more optimal approach. For more information on occlusion queries, see Sections 4.1.7 and 6.1.12 of The OpenGL Graphics System. |
Категории