GpuMaterialPassDepthFunction Property |
Namespace: NeoAxis
If depth checking is enabled (see DepthCheckEnabled) a comparison occurs between the depth value of the pixel to be written and the current contents of the buffer. This comparison is normally CompareFunction.LessEqual, i.e. the pixel is written if it is closer (or at the same distance) than the current contents. If you wish you can change this comparison using this method.