Drawing3d documented Class Library

OpenGlDevice.BringToFront Method

If you have some polygon, which have a z-fighting problem you can use this method to determe, which polygon is visible.

[Visual Basic]
Public Sub BringToFront( _
   ByVal value As Boolean, _
   ByVal forward As Boolean, _
   ByVal Kind As PolygonMode _
)
[C#]
public void BringToFront(
   bool value,
   bool forward,
   PolygonMode Kind
);

Parameters

value
True: the mechanism will be activated, False: the mechanism will bee deactivated
forward
True : bring forward, false: bring backward
Kind
Fill: The mechanism works for filled polygons, Line: the meschanism works for lined polygon.s

See Also

OpenGlDevice Class | Drawing3d.Devices Namespace