RenderStateManager.ZBufferFunction Property |
Language: |
Retrieves or sets the comparison function for the z-buffer test.
Visual Basic Public Property ZBufferFunction As Compare C# public Compare ZBufferFunction { get; set; } C++ public:
property Compare ZBufferFunction {
Compare get();
void set(Compare value);
}JScript public function get ZBufferFunction() : Compare
public function set ZBufferFunction(Compare);
Microsoft.DirectX.Direct3D.Compare
This property is read/write.
Value of the Compare enumeration that represents the comparison function to set or retrieve.
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.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.