nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
texgen_normal_map_tests.h
1#ifndef NXDK_PGRAPH_TESTS_TEXGEN_NORMAL_MAP_TESTS_H
2#define NXDK_PGRAPH_TESTS_TEXGEN_NORMAL_MAP_TESTS_H
3
4#include <memory>
5#include <string>
6
7#include "test_host.h"
8#include "test_suite.h"
9#include "xbox_math_types.h"
10
11namespace PBKitPlusPlus {
12class VertexBuffer;
13}
14
19 public:
20 TexgenNormalMapTests(TestHost &host, std::string output_dir, const Config &config);
21
22 void Initialize() override;
23 void Deinitialize() override;
24
25 private:
26 void Test(const std::string &test_name, const XboxMath::matrix4_t &matrix, bool matrix_enable,
27 TestHost::ShaderStageProgram stage_program, uint32_t view_model);
28
29 std::shared_ptr<PBKitPlusPlus::VertexBuffer> vertex_buffer_;
30};
31
32#endif // NXDK_PGRAPH_TESTS_TEXGEN_NORMAL_MAP_TESTS_H
Definition test_host.h:33
Definition test_suite.h:21
Definition texgen_normal_map_tests.h:18
void Initialize() override
Called to initialize the test suite.
Definition texgen_normal_map_tests.cpp:233
void Deinitialize() override
Called to tear down the test suite.
Definition texgen_normal_map_tests.cpp:277
Runtime configuration for TestSuites.
Definition test_suite.h:24