nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
specular_back_tests.h
1#ifndef NXDK_PGRAPH_TESTS_SPECULAR_BACK_TESTS_H
2#define NXDK_PGRAPH_TESTS_SPECULAR_BACK_TESTS_H
3
4#include "test_suite.h"
5
6class VertexBuffer;
7class TestHost;
8
14 public:
15 SpecularBackTests(TestHost& host, std::string output_dir, const Config& config);
16
17 void Initialize() override;
18 void Deinitialize() override;
19
20 private:
22 void TestControlFlags(const std::string& name, bool use_fixed_function, bool enable_lighting, bool enable_light);
23
25 void TestSpecularParams(const std::string& name, const float* specular_params);
26
28 void CreateGeometry();
29
30 std::shared_ptr<VertexBuffer> vertex_buffer_cone_;
31 std::shared_ptr<VertexBuffer> vertex_buffer_cylinder_;
32 std::shared_ptr<VertexBuffer> vertex_buffer_sphere_;
33 std::shared_ptr<VertexBuffer> vertex_buffer_suzanne_;
34 std::shared_ptr<VertexBuffer> vertex_buffer_torus_;
35};
36
37#endif // NXDK_PGRAPH_TESTS_SPECULAR_BACK_TESTS_H
Definition specular_back_tests.h:13
void Initialize() override
Called to initialize the test suite.
Definition specular_back_tests.cpp:302
void Deinitialize() override
Called to tear down the test suite.
Definition specular_back_tests.cpp:333
Definition test_host.h:47
Definition test_suite.h:20
Definition vertex_buffer.h:204
Runtime configuration for TestSuites.
Definition test_suite.h:23