|
srp
software rendering pipeline
|
#include <shaders.h>
Public Attributes | |
| SRPUniform * | uniform |
| SRPInterpolated * | varyings |
| float | fragCoord [4] |
| bool | frontFacing |
| size_t | primitiveID |
Holds inputs to fragment shader
| float SRPFragmentShaderIn::fragCoord[4] |
Window space coordinates of the fragment
| bool SRPFragmentShaderIn::frontFacing |
Whether or not the current primitive is facing front
| size_t SRPFragmentShaderIn::primitiveID |
ID of the currently processing primitive
| SRPUniform* SRPFragmentShaderIn::uniform |
Pointer to currently used shader uniform
| SRPInterpolated* SRPFragmentShaderIn::varyings |
Pointer to interpolated vertex variables