Method called at the beginning of the main cycle. It clears OpenGL buffer and starts an ImGui frame.
()
| 173 | * It clears OpenGL buffer and starts an ImGui frame. |
| 174 | */ |
| 175 | protected void startFrame() { |
| 176 | clearBuffer(); |
| 177 | imGuiGl3.newFrame(); |
| 178 | imGuiGlfw.newFrame(); |
| 179 | ImGui.newFrame(); |
| 180 | } |
| 181 | |
| 182 | /** |
| 183 | * Method called in the end of the main cycle. |
no test coverage detected