Ocean
Ocean::Test::TestRendering Namespace Reference

Namespace of the Rendering Test library. More...

Functions

OCEAN_TEST_RENDERING_EXPORT bool testRendering (const double testDuration, Worker &worker)
 Tests the entire rendering library. More...
 

Detailed Description

Namespace of the Rendering Test library.

The Namespace Ocean::Test::TestRendering is used in the entire Ocean Rendering Test Library.

Function Documentation

◆ testRendering()

OCEAN_TEST_RENDERING_EXPORT bool Ocean::Test::TestRendering::testRendering ( const double  testDuration,
Worker worker 
)

Tests the entire rendering library.

Parameters
testDurationNumber of seconds for each test
workerThe worker object to distribute some computation on as many CPU cores as defined in the worker object.
Returns
True, if the entire test succeeded