RenderStateManager.DepthBias Property |
Language: |
Sets or retrieves the depth bias for polygons.
Visual Basic .NET Public Property DepthBias As Single C# public float DepthBias { get; set; } Managed C++ public: __property float get_DepthBias();
public: __property void set_DepthBias(float);JScript .NET public function get DepthBias() : float
public function set DepthBias(float);
System.Single . Depth bias for polygons.
This property is read/write.
The DepthBias property specifies an integer value in the range of 0 through 16 that causes polygons that are physically coplanar to appear separate.
Polygons with a high z-bias value appear in front of polygons with a low value, without requiring sorting for drawing order. For example, polygons with a value of 1 appear in front of polygons with a value of 0.
Feedback? Please provide us with your comments on this topic.