nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
texture_2d_as_cubemap_tests.h
1#ifndef NXDK_PGRAPH_TESTS_TEXTURE_2D_AS_CUBEMAP_TESTS_H
2#define NXDK_PGRAPH_TESTS_TEXTURE_2D_AS_CUBEMAP_TESTS_H
3
4#include <string>
5
6#include "test_suite.h"
7
16 public:
17 Texture2DAsCubemapTests(TestHost &host, std::string output_dir, const Config &config);
18
19 void Initialize() override;
20 void Deinitialize() override;
21
22 private:
23 enum class ReflectTest {
24 kSpecular,
25 kDiffuse,
26 kSpecularConst,
27 };
28
29 private:
30 void TestCubemap();
31 void TestDotSTR3D(const std::string &name);
32 void TestDotSTRCubemap(const std::string &name);
33 void TestDotReflect(const std::string &name, ReflectTest mode);
34};
35
36#endif // NXDK_PGRAPH_TESTS_TEXTURE_2D_AS_CUBEMAP_TESTS_H
Definition test_host.h:33
Definition test_suite.h:20
Definition texture_2d_as_cubemap_tests.h:15
void Initialize() override
Called to initialize the test suite.
Definition texture_2d_as_cubemap_tests.cpp:89
void Deinitialize() override
Called to tear down the test suite.
Definition texture_2d_as_cubemap_tests.cpp:144
Runtime configuration for TestSuites.
Definition test_suite.h:23