En esta página

DepthRange QML Type

Permite remapear los valores de profundidad escritos en el búfer de profundidad. Más...

Import Statement: import Qt3D.Render 2.11
In C++: QDepthRange
Inherits:

RenderState

Status: Deprecated

Descripción detallada

Por defecto, OpenGL escribe la información de profundidad de la escena en el buffer de profundidad en el rango [0.0, 1.0] correspondiente a los planos de clip cercano y lejano. QDepthRange permite mapear estos valores en un rango diferente. Por ejemplo, estableciendo el rango [0.0, 0.5] se mapeará la escena renderizada en el buffer de profundidad de forma que los objetos en el plano de clip cercano tengan un valor de profundidad de 0.0 y los objetos en el plano de clip lejano tengan un valor de profundidad de 0.5. Esto permite renderizar partes de la escena en el buffer de profundidad. Esto permite renderizar partes de la escena siempre delante o 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.