C language function:glAlphaFunc sample codes

Search sample code in the internet.It is the result.


TITLE : samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/MatrixTrackingGL.java - platform/development - Git at Google
public void glAlphaFunc(int func, float ref) {.......
http://android.googlesource.com/platform/development/+/master/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/MatrixTrackingGL.java


TITLE : samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/MatrixTrackingGL.java - platform/development - Git at Google
mgl.glAlphaFunc(func, ref);.......
http://android.googlesource.com/platform/development/+/master/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/MatrixTrackingGL.java
TITLE : iPhone 3D Programming
glAlphaFunc(GL_LESS, 1.0f);.......
http://chimera.labs.oreilly.com/books/1234000001814/ch06.html
TITLE : GL10 | Android Developers
abstract void glAlphaFunc(int func, float ref).......
http://developer.android.com/reference/javax/microedition/khronos/opengles/GL10.html
TITLE : QOpenGLFunctions_2_0 Class | Qt GUI 5.9
void glAlphaFunc(GLenum func, GLfloat ref).......
http://doc.qt.io/qt-5/qopenglfunctions-2-0.html
TITLE : QOpenGLFunctions_2_0 Class | Qt GUI 5.9
void QOpenGLFunctions_2_0::glAlphaFunc(GLenum func, GLfloat ref).......
http://doc.qt.io/qt-5/qopenglfunctions-2-0.html
TITLE : How to save OpenGL state when render with Nifty nifty-gui/nifty-gui Wiki GitHub
GL11.glAlphaFunc(GL11.GL_NOTEQUAL, 0);.......
http://github.com/nifty-gui/nifty-gui/wiki/How-to-save-OpenGL-state-when-render-with-Nifty
TITLE : glAlphaFunc function (Windows)
void WINAPI glAlphaFunc(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/dd318354(v=vs.85).aspx
TITLE : NeHe Productions: Picking, Alpha Blending, Alpha Testing, Sorting
It's important to note, that if you wanted to use the glAlphaFunc() and glEnable(GL_ALPHA_TEST), sorting is not necessary. However, using the Alpha Function you are restricted to completely transparent or completely opaque blending, there is no in between. Sorting and using the Blendfunc() is a little more work, but it allows for semi-transparent objects........
http://nehe.gamedev.net/tutorial/picking_alpha_blending_alpha_testing_sorting/16005/
TITLE : NeHe Productions: Picking, Alpha Blending, Alpha Testing, Sorting
Earlier in the tutorial I talked about using the glAlphaFunc() instead of alpha blending. If you want to use the Alpha Function, comment out the 2 lines of blending code and uncomment the 2 lines under glEnable(GL_BLEND). You can also comment out the qsort() function in the InitObject() section of code........
http://nehe.gamedev.net/tutorial/picking_alpha_blending_alpha_testing_sorting/16005/
TITLE : NeHe Productions: Picking, Alpha Blending, Alpha Testing, Sorting
// glAlphaFunc(GL_GREATER,0.1f); // Set Alpha Testing (disable blending).......
http://nehe.gamedev.net/tutorial/picking_alpha_blending_alpha_testing_sorting/16005/
TITLE : NyARToolkit for Android | NyARToolkit project
gl.glAlphaFunc(GL10.GL_GEQUAL, 0.05f);.......
http://nyatla.jp/nyartoolkit/wp/@cat=29
search Google

https://www.google.com/#q=glAlphaFunc