C 言語関数:glStencilOp サンプルコード

サンプルコードを検索した結果です。


TITLE : OpenGL Programming/Stencil buffer - Wikibooks, open books for an open world
glStencilOp(GL_REPLACE, GL_KEEP, GL_KEEP); // draw 1s on test fail (always).......
http://en.wikibooks.org/wiki/OpenGL_Programming/Stencil_buffer


TITLE : OpenGL Programming/Stencil buffer - Wikibooks, open books for an open world
* set glStencilOp(GL_KEEP, GL_KEEP, GL_KEEP) - which applies a no-op for all conditions.......
http://en.wikibooks.org/wiki/OpenGL_Programming/Stencil_buffer
TITLE : OpenGL Programming/Stencil buffer - Wikibooks, open books for an open world
glStencilOp(GL_KEEP, GL_KEEP, GL_INCR); // +1 when current pixel != 0.......
http://en.wikibooks.org/wiki/OpenGL_Programming/Stencil_buffer
TITLE : OpenGL Programming/Stencil buffer - Wikibooks, open books for an open world
glStencilOp(GL_INCR, GL_KEEP, GL_KEEP); // +1 when !(current pixel == 0).......
http://en.wikibooks.org/wiki/OpenGL_Programming/Stencil_buffer
TITLE : Stencil buffer - Wikipedia
glStencilOp(fail,zfail,zpass); // by default GL_KEEP, GL_KEEP, GL_KEEP, do not change stencil buffer.......
http://en.wikipedia.org/wiki/Stencil_buffer
TITLE : Stencil buffer - Wikipedia
If say glStencilOp(GL_REPLACE, GL_KEEP, GL_KEEP) then GL_REPLACE takes place and.......
http://en.wikipedia.org/wiki/Stencil_buffer
TITLE : Stencil buffer - Wikipedia
If say glStencilOp(GL_KEEP, GL_INCR, GL_KEEP) then GL_INCR takes place and.......
http://en.wikipedia.org/wiki/Stencil_buffer
TITLE : Stencil buffer - Wikipedia
If say, glStencilOp(GL_KEEP, GL_KEEP, GL_KEEP) then Stencil values are not changed, only Color and Depth buffers are modified........
http://en.wikipedia.org/wiki/Stencil_buffer
TITLE : Stencil buffer - Wikipedia
glStencilOp(GL_REPLACE, GL_KEEP, GL_KEEP); // replace stencil buffer values to ref=1.......
http://en.wikipedia.org/wiki/Stencil_buffer
TITLE : Stencil buffer - Wikipedia
// can also be achieved by glStencilOp(GL_KEEP, GL_KEEP, GL_KEEP);.......
http://en.wikipedia.org/wiki/Stencil_buffer
TITLE : opengl - Stencil buffer mask calculation - Game Development Stack Exchange
This is where glStencilOp() comes in, glStencilOp() determines what's going to happen to the stencil buffer when a pixel is drawn (and in other situations too, but we won't worry about that). To increment the value in the stencil buffer for each pixel drawn (and hence record that you drew it) include this in the initialization of the entire sequence:.......
http://gamedev.stackexchange.com/questions/13765/stencil-buffer-mask-calculation
TITLE : opengl - Stencil buffer mask calculation - Game Development Stack Exchange
glStencilOp(GL_KEEP, GL_KEEP, GL_INCR);.......
http://gamedev.stackexchange.com/questions/13765/stencil-buffer-mask-calculation
TITLE : Minimal SDL2 & OpenGL stencil buffer example.mm 揃 GitHub
glStencilOp( GL_REPLACE, GL_REPLACE, GL_REPLACE );.......
http://gist.github.com/sealfin/d22f4ba4d1022e1b89dd
TITLE : Minimal SDL2 & OpenGL stencil buffer example.mm 揃 GitHub
glStencilOp( GL_KEEP, GL_KEEP, GL_KEEP );.......
http://gist.github.com/sealfin/d22f4ba4d1022e1b89dd
Googleで検索

https://www.google.co.jp/#q=glStencilOp