MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / ClearColBufferAndDepth

Method ClearColBufferAndDepth

Source/SysPSP/Graphics/GraphicsContext.cpp:245–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245void IGraphicsContext::ClearColBufferAndDepth(const c32 & colour)
246{
247 sceGuClearColor(colour.GetColour());
248 sceGuClearDepth(0);
249 sceGuClear(GU_COLOR_BUFFER_BIT | GU_DEPTH_BUFFER_BIT | GU_FAST_CLEAR_BIT);
250}
251
252//*****************************************************************************
253//

Callers 1

ClearBackgroundMethod · 0.45

Calls 1

GetColourMethod · 0.80

Tested by

no test coverage detected