DepthRange QML Type
Permite reasignar los valores de profundidad que se escriben en el búfer de profundidad. Más información...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QDepthRange |
| Inherits: | |
| Status: | Deprecated |
Este tipo está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.
Descripción detallada
Por defecto, OpenGL escribe la información de profundidad de la escena en el búfer de profundidad en el rango [0,0; 1,0], que se corresponde con los planos de recorte cercano y lejano. QDepthRange permite reasignar estos valores a un rango diferente. Por ejemplo, al establecer el rango [0,0; 0,5], la escena renderizada se asignará al búfer de profundidad de tal forma que los objetos situados en el plano de recorte cercano tengan un valor de profundidad de 0,0 y los objetos situados en el plano de recorte lejano tengan un valor de profundidad de 0,5. Esto permite renderizar partes de la escena siempre por delante o por detrás de otras partes.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.