Function TRAP::Graphics::RenderCommand::Clear#
Function Documentation#
-
void TRAP::Graphics::RenderCommand::Clear(ClearBuffer clearType, const Window &window = *TRAP::Application::GetWindow())#
Clear the RenderTarget of the given window.
Remark
Headless mode: This function is not available in headless mode.
- Parameters:
clearType – Type of buffer to clear.
window – Window to clear RenderTarget for. Default: Main Window.