1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0024785: Visualization - Modifying z-layers concept to gain more control over OpenGl depth buffer.

Cosmetic fixes.
glDepthFunc fix.
This commit is contained in:
duv
2014-04-17 15:56:41 +04:00
committed by apn
parent 1a457208fe
commit c5751993f2
26 changed files with 655 additions and 28 deletions

View File

@@ -1028,6 +1028,17 @@ void OpenGl_View::ChangeZLayer (const OpenGl_Structure *theStructure,
myZLayers.ChangeLayer (theStructure, anOldLayer, theNewLayerId);
}
//=======================================================================
//function : SetZLayerSettings
//purpose :
//=======================================================================
void OpenGl_View::SetZLayerSettings (const Standard_Integer theLayerId,
const Graphic3d_ZLayerSettings theSettings)
{
myZLayers.Layer (theLayerId).SetLayerSettings (theSettings);
}
//=======================================================================
//function : RedrawScene
//purpose :