MCPcopy Create free account
hub / github.com/carbonengine/trinity / MakeScreenShot

Method MakeScreenShot

trinityal/tests/WithValidRenderContextFixture.cpp:292–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292void WithValidRenderContext::MakeScreenShot( const char* outFilePath )
293{
294 auto rt = GetReadableBackBuffer( *renderContext );
295 ASSERT_TRUE( rt.IsValid() );
296 SaveReadableRenderTarget( rt, outFilePath, *renderContext );
297}
298
299
300void WithValidRenderContext::MakeTestScreenShot()

Callers

nothing calls this directly

Calls 3

GetReadableBackBufferFunction · 0.85
SaveReadableRenderTargetFunction · 0.85
IsValidMethod · 0.45

Tested by

no test coverage detected