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:
@@ -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 :
|
||||
|
Reference in New Issue
Block a user