En esta página

DepthTest QML Type

El tipo DepthTest comprueba el valor de profundidad del fragment shader con la profundidad de una muestra en la que se está escribiendo. Más...

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

RenderState

Status: Deprecated

Propiedades

Descripción detallada

Un tipo DepthTest se utiliza para habilitar la prueba de profundidad con una función de prueba de profundidad determinada. La prueba de profundidad permite escribir valores de color de fragmentos cuando la prueba de profundidad pasa, y rechaza fragmentos que fallan la prueba. La prueba de profundidad utiliza la función depth para comprobar el valor de profundidad de los fragmentos con el valor contra el búfer z. Si la superficie subyacente no tiene z-buffer, el DepthTest no hace nada.

Véase también AlphaTest y StencilTest.

Documentación de propiedades

depthFunction : enumeration

Mantiene la función actual utilizada por la prueba de profundidad. Por defecto es DepthTest.Never.

Véase también Qt3DRender::QDepthTest::DepthFunction.

© 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.