Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
oivShaderVariables.h
1#ifndef OIV_SHADER_VARIABLES_H
2#define OIV_SHADER_VARIABLES_H
3
4/*****************************************************************************/
14vec4 OivFragmentColor();
15
22vec4 OivFragmentTexCoord( in int unit );
23
33float OivFogFragCoord();
34
43vec4 OivFrontColor( in int index );
44
53vec4 OivBackColor( in int index );
54
63vec4 OivTexCoord( in int index, in int unit );
64
73float OivFogFragCoord( in int index );
74
75/*****************************************************************************/
84void OivInitVertexData();
85
97void OivSetFrontColor( in vec4 color );
98
110void OivSetBackColor( in vec4 color );
111
123void OivSetTexCoord( in int unit, in vec4 coord );
124
136void OivSetFogFragCoord( in float coord );
137
145void OivFragmentOutput( in int bufferIndex, in vec4 outputValue );
146
155void OivFragmentOutput( in vec4 outputValue );
156
157/*****************************************************************************/
178void OivSetupVertex( in int inIndex );
179
193void OivSetupVertex();
194
195#endif /* OIV_SHADER_VARIABLES_H */