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