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