nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
FixedFunctionApproximationShader Class Reference

Programmable vertex shader that mimicks the behavior of the fixed function pipeline. More...

#include <fixed_function_approximation_shader.h>

Inheritance diagram for FixedFunctionApproximationShader:
Collaboration diagram for FixedFunctionApproximationShader:

Public Member Functions

 FixedFunctionApproximationShader (uint32_t framebuffer_width, uint32_t framebuffer_height, float z_min=0, float z_max=0x7FFF, float fov_y=M_PI *0.25f, float near=1.0f, float far=10.0f)
 
void SetDirectionalLightDirection (const vector_t &direction)
 Sets the direction from the origin towards the directional light.
 
void SetDirectionalLightCastDirection (const vector_t &direction)
 Sets the direction in which the directional light is casting light.
 

Protected Member Functions

int OnLoadConstants () override
 

Detailed Description

Programmable vertex shader that mimicks the behavior of the fixed function pipeline.


The documentation for this class was generated from the following files: