The DepthTest type tests the fragment shader's depth value against the depth of a sample being written to. More...
Import Statement: | import Qt3D.Render 2.4 |
Since: | Qt 5.7 |
Instantiates: | QDepthTest |
Inherits: |
A DepthTest type is used to enable depth testing with a given depth test function. The depth test enables writing fragment color values when the depth test passes, and reject fragments which fail the test. The depth test uses the depth function to test the fragments depth value to the value against z-buffer. If the underlying surface does not have z-buffer, the DepthTest does nothing.
See also AlphaTest and StencilTest.
depthFunction : enumeration |
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: