mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 14:54:34 +00:00
0b1eff8b0d
https://github.com/aras-p/ToyPathTracer b076563906169aa2f9e6d7218ef85decf81f8f72
18 lines
607 B
C
18 lines
607 B
C
#pragma once
|
|
#include <stdint.h>
|
|
|
|
enum TestFlags
|
|
{
|
|
kFlagAnimate = (1 << 0),
|
|
kFlagProgressive = (1 << 1),
|
|
};
|
|
|
|
void InitializeTest();
|
|
void ShutdownTest();
|
|
|
|
void UpdateTest(float time, int frameCount, int screenWidth, int screenHeight, unsigned testFlags);
|
|
void DrawTest(float time, int frameCount, int screenWidth, int screenHeight, float* backbuffer, int& outRayCount, unsigned testFlags);
|
|
|
|
void GetObjectCount(int& outCount, int& outObjectSize, int& outMaterialSize, int& outCamSize);
|
|
void GetSceneDesc(void* outObjects, void* outMaterials, void* outCam, void* outEmissives, int* outEmissiveCount);
|