nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
Loading...
Searching...
No Matches
precalculated_vertex_shader.h
1
#ifndef NXDK_PGRAPH_TESTS_SHADERS_PRECALCULATED_VERTEX_SHADER_H_
2
#define NXDK_PGRAPH_TESTS_SHADERS_PRECALCULATED_VERTEX_SHADER_H_
3
4
#include <cstdint>
5
6
#include "vertex_shader_program.h"
7
#include "xbox_math_types.h"
8
9
using namespace
XboxMath;
10
15
class
PrecalculatedVertexShader
:
public
VertexShaderProgram
{
16
public
:
17
explicit
PrecalculatedVertexShader
(
bool
use_4c_texcoords =
false
)
18
:
VertexShaderProgram
(), use_4_component_texcoords_(use_4c_texcoords) {};
19
20
protected
:
21
void
OnLoadShader()
override
;
22
23
protected
:
24
bool
use_4_component_texcoords_;
25
};
26
27
#endif
// NXDK_PGRAPH_TESTS_SHADERS_PRECALCULATED_VERTEX_SHADER_H_
PrecalculatedVertexShader
Definition
precalculated_vertex_shader.h:15
VertexShaderProgram
Definition
vertex_shader_program.h:13
src
shaders
precalculated_vertex_shader.h
Generated by
1.9.8