I`m using OpenTK for OpenGL and C#.
I need to use stencil buffer and currently wondering how do I set StencilBuffer
depth.
As I know earlier was TaoFramework and it`s control had property where this depth could be seted.
But now in openGlControl from OpenTK I can not find such property. As I know current seted buffer depth can be obtained by calling GL.GetInteger()
method passing to it special parameter.
And when I do so it returns 0. This means that currently stencil buffer depth is zero, so any operations won"t have result untill some buffer depth is seted. But I can`t find out how to do this.
Can anyone help me?