Click or drag to resize

GpuMaterialPassDepthCheck Property

Gets or sets whether or not this pass renders with depth-buffer checking on or not.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public bool DepthCheck { get; set; }

Property Value

Type: Boolean
Remarks

If depth-buffer checking is on, whenever a pixel is about to be written to the frame buffer the depth buffer is checked to see if the pixel is in front of all other pixels written at that point. If not, the pixel is not written.

If depth checking is off, pixels are written no matter what has been rendered before. Also see setDepthFunction for more advanced depth check configuration.

See Also