0
votes

Stencil test in OpenGL Red Book says:

the stencil test takes place only if there is a stencil buffer.

How can I find out, if there is a stencil buffer in my OpenGL / graphics card implementation ?

1

1 Answers

0
votes

All modern graphics cards will have a stencil buffer, the Red Book is referring to whether or not the stencil test is currently enabled (using glEnable(GL_STENCIL_TEST) and glDisable(GL_STENCIL_TEST)).