GLArea.setHasDepthBuffer

Sets whether the GtkGLArea should use a depth buffer.

If @has_depth_buffer is %TRUE the widget will allocate and enable a depth buffer for the target framebuffer. Otherwise there will be none.

class GLArea
void
setHasDepthBuffer

Parameters

hasDepthBuffer bool

%TRUE to add a depth buffer

Meta