For example: I draw 3D gameobjects. One of the gameObjects have to clear the depth buffer to draw it perfectly (e.g. FPS weapon). Then I would like to draw some 3d debug stuff, but as the depth buffer is cleared it appears everywhere. Can I somehow push/pop the depth buffer?