1#ifndef OIV_SHADER_VARIABLES_H
2#define OIV_SHADER_VARIABLES_H
void OivSetFogFragCoord(in float coord)
Set the fog frag coord of the output vertex for the next shader stage.
vec4 OivTexCoord(in int index, in int unit)
Get the texture coordinates of the input vertex at index.
void OivSetBackColor(in vec4 color)
Set the back color of the output vertex for the next shader stage.
void OivSetTexCoord(in int unit, in vec4 coord)
Set the texture coordinates of the output vertex for the next shader stage.
vec4 OivBackColor(in int index)
Get the back color of the input vertex or fragment at index.
void OivSetFrontColor(in vec4 color)
Set the front color of the output vertex for the next shader stage.
float OivFogFragCoord()
Get the fog frag coord of the input vertex or fragment.
void OivInitVertexData()
OUT.
vec4 OivFrontColor(in int index)
Get the front color of the input vertex or fragment at index.
vec4 OivFragmentTexCoord(in int unit)
Get the interpolated texture coordinates for this fragment.
vec4 OivFragmentColor()
IN.
void OivSetupVertex()
Copy variables from the input vertex to the output vertex.
void OivFragmentOutput(in int bufferIndex, in vec4 outputValue)
Set the output value of the current fragment in the buffer specified by bufferIndex.