Difference between revisions of "Template:Glapi texture comparison funcs"

From OpenGL Wiki
Jump to navigation Jump to search
(template for GLAPI.)
 
m (Formatting fix.)
Line 4: Line 4:
 
! '''Computed result'''
 
! '''Computed result'''
 
|+
 
|+
| {{code|GL_LEQUAL}}
+
| {{enum|GL_LEQUAL}}
 
| <math>result =  
 
| <math>result =  
 
\begin{cases}
 
\begin{cases}
Line 11: Line 11:
 
\end{cases}</math>
 
\end{cases}</math>
 
|+
 
|+
| {{code|GL_GEQUAL}}
+
| {{enum|GL_GEQUAL}}
 
| <math>result =  
 
| <math>result =  
 
\begin{cases}
 
\begin{cases}
Line 18: Line 18:
 
\end{cases}</math>
 
\end{cases}</math>
 
|+
 
|+
| {{code|GL_LESS}}
+
| {{enum|GL_LESS}}
 
| <math>result =  
 
| <math>result =  
 
\begin{cases}
 
\begin{cases}
Line 25: Line 25:
 
\end{cases}</math>
 
\end{cases}</math>
 
|+
 
|+
| {{code|GL_GREATER}}
+
| {{enum|GL_GREATER}}
 
| <math>result =  
 
| <math>result =  
 
\begin{cases}
 
\begin{cases}
Line 32: Line 32:
 
\end{cases}</math>
 
\end{cases}</math>
 
|+
 
|+
| {{code|GL_EQUAL}}
+
| {{enum|GL_EQUAL}}
 
| <math>result =  
 
| <math>result =  
 
\begin{cases}
 
\begin{cases}
Line 39: Line 39:
 
\end{cases}</math>
 
\end{cases}</math>
 
|+
 
|+
| {{code|GL_NOTEQUAL}}
+
| {{enum|GL_NOTEQUAL}}
 
| <math>result =  
 
| <math>result =  
 
\begin{cases}
 
\begin{cases}
Line 46: Line 46:
 
\end{cases}</math>
 
\end{cases}</math>
 
|+
 
|+
| {{code|GL_ALWAYS}}
+
| {{enum|GL_ALWAYS}}
 
| <math>result = 1.0</math>
 
| <math>result = 1.0</math>
 
|+
 
|+
| {{code|GL_NEVER}}
+
| {{enum|GL_NEVER}}
 
| <math>result = 0.0</math>
 
| <math>result = 0.0</math>
 
|}
 
|}

Revision as of 00:41, 28 October 2012

Texture Comparison Function Computed result
GL_LEQUAL
GL_GEQUAL
GL_LESS
GL_GREATER
GL_EQUAL
GL_NOTEQUAL
GL_ALWAYS
GL_NEVER