nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
lighting_range_tests.h
1#ifndef NXDK_PGRAPH_TESTS_LIGHTING_RANGE_TESTS_H
2#define NXDK_PGRAPH_TESTS_LIGHTING_RANGE_TESTS_H
3
4#include <memory>
5#include <vector>
6
7#include "test_suite.h"
8
9class TestHost;
10namespace PBKitPlusPlus {
11class Light;
12class VertexBuffer;
13} // namespace PBKitPlusPlus
14
15using namespace PBKitPlusPlus;
16
28 public:
29 LightingRangeTests(TestHost& host, std::string output_dir, const Config& config);
30
31 void Deinitialize() override;
32 void Initialize() override;
33
34 private:
36 void Test(const std::string& name, std::shared_ptr<Light> light);
37
38 void CreateGeometry();
39
40 private:
41 std::shared_ptr<VertexBuffer> vertex_buffer_mesh_;
42};
43
44#endif // NXDK_PGRAPH_TESTS_LIGHTING_RANGE_TESTS_H
Definition lighting_range_tests.h:27
void Deinitialize() override
Called to tear down the test suite.
Definition lighting_range_tests.cpp:85
void Initialize() override
Called to initialize the test suite.
Definition lighting_range_tests.cpp:101
Definition test_host.h:33
Definition test_suite.h:20
Runtime configuration for TestSuites.
Definition test_suite.h:23