nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
lighting_control_tests.h
1#ifndef NXDK_PGRAPH_TESTS_LIGHTING_CONTROL_TESTS_H
2#define NXDK_PGRAPH_TESTS_LIGHTING_CONTROL_TESTS_H
3
4#include <memory>
5#include <vector>
6
7#include "test_suite.h"
8
9class TestHost;
10class VertexBuffer;
11
55 public:
56 LightingControlTests(TestHost& host, std::string output_dir, const Config& config);
57
58 void Deinitialize() override;
59 void Initialize() override;
60
61 private:
63 void Test(const std::string& name, uint32_t light_control, bool specular_enabled, bool is_fixed_function);
64
65 void CreateGeometry();
66
67 private:
68 std::shared_ptr<VertexBuffer> vertex_buffer_cone_;
69 std::shared_ptr<VertexBuffer> vertex_buffer_cylinder_;
70 std::shared_ptr<VertexBuffer> vertex_buffer_sphere_;
71 std::shared_ptr<VertexBuffer> vertex_buffer_suzanne_;
72 std::shared_ptr<VertexBuffer> vertex_buffer_torus_;
73};
74
75#endif // NXDK_PGRAPH_TESTS_LIGHTING_CONTROL_TESTS_H
Definition lighting_control_tests.h:54
void Deinitialize() override
Called to tear down the test suite.
Definition lighting_control_tests.cpp:189
void Initialize() override
Called to initialize the test suite.
Definition lighting_control_tests.cpp:233
Definition test_host.h:47
Definition test_suite.h:20
Definition vertex_buffer.h:204
Runtime configuration for TestSuites.
Definition test_suite.h:23