RenderStateManager.ZBufferFunction Property |
Language: |
Retrieves or sets the comparison function for the z-buffer test.
Visual Basic .NET Public Property ZBufferFunction As Compare C# public Compare ZBufferFunction { get; set; } Managed C++ public: __property Compare get_ZBufferFunction();
public: __property void set_ZBufferFunction(Compare);JScript .NET public function get ZBufferFunction() : Compare
public function set ZBufferFunction(Compare);
Microsoft.DirectX.Direct3D.Compare . Value of the Compare enumeration that represents the comparison function to set or retrieve.
This property is read/write.
The depth value of the pixel is compared to the depth-buffer value. If the depth value of the pixel passes the comparison function, the pixel is written.
Feedback? Please provide us with your comments on this topic.