update headers

This commit is contained in:
Nick Fisher
2022-12-05 17:51:44 +08:00
parent 8d562f1742
commit dd100653dc
234 changed files with 62619 additions and 9800 deletions

View File

@@ -60,7 +60,7 @@ public:
* Minimum time that automation waits between applying a settings object and advancing
* to the next test case. Specified in seconds.
*/
float sleepDuration = 0.2;
float sleepDuration = 0.2f;
/**
* Similar to sleepDuration, but expressed as a frame count. Both the minimum sleep time
@@ -158,7 +158,7 @@ public:
* @param content Contains the Filament View, Materials, and Renderer that get modified.
* @param deltaTime The amount of time that has passed since the previous tick in seconds.
*/
void tick(const ViewerContent& content, float deltaTime);
void tick(Engine* engine, const ViewerContent& content, float deltaTime);
/**
* Mutates a set of client-owned Filament objects according to a JSON string.
@@ -173,7 +173,7 @@ public:
* @param jsonLength Number of characters in the json string.
* @param content Contains a set of Filament objects that you want to mutate.
*/
void applySettings(const char* json, size_t jsonLength, const ViewerContent& content);
void applySettings(Engine* engine, const char* json, size_t jsonLength, const ViewerContent& content);
/**
* Gets a color grading object that corresponds to the latest settings.