Difference between revisions of "Template:Glapi texture comparison funcs"
Jump to navigation
Jump to search
(template for GLAPI.) |
m (Formatting fix.) |
||
Line 4: | Line 4: | ||
! '''Computed result''' | ! '''Computed result''' | ||
|+ | |+ | ||
− | | {{ | + | | {{enum|GL_LEQUAL}} |
| <math>result = | | <math>result = | ||
\begin{cases} | \begin{cases} | ||
Line 11: | Line 11: | ||
\end{cases}</math> | \end{cases}</math> | ||
|+ | |+ | ||
− | | {{ | + | | {{enum|GL_GEQUAL}} |
| <math>result = | | <math>result = | ||
\begin{cases} | \begin{cases} | ||
Line 18: | Line 18: | ||
\end{cases}</math> | \end{cases}</math> | ||
|+ | |+ | ||
− | | {{ | + | | {{enum|GL_LESS}} |
| <math>result = | | <math>result = | ||
\begin{cases} | \begin{cases} | ||
Line 25: | Line 25: | ||
\end{cases}</math> | \end{cases}</math> | ||
|+ | |+ | ||
− | | {{ | + | | {{enum|GL_GREATER}} |
| <math>result = | | <math>result = | ||
\begin{cases} | \begin{cases} | ||
Line 32: | Line 32: | ||
\end{cases}</math> | \end{cases}</math> | ||
|+ | |+ | ||
− | | {{ | + | | {{enum|GL_EQUAL}} |
| <math>result = | | <math>result = | ||
\begin{cases} | \begin{cases} | ||
Line 39: | Line 39: | ||
\end{cases}</math> | \end{cases}</math> | ||
|+ | |+ | ||
− | | {{ | + | | {{enum|GL_NOTEQUAL}} |
| <math>result = | | <math>result = | ||
\begin{cases} | \begin{cases} | ||
Line 46: | Line 46: | ||
\end{cases}</math> | \end{cases}</math> | ||
|+ | |+ | ||
− | | {{ | + | | {{enum|GL_ALWAYS}} |
| <math>result = 1.0</math> | | <math>result = 1.0</math> | ||
|+ | |+ | ||
− | | {{ | + | | {{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 |