GLArea.setHasDepthBuffer

void setHasDepthBuffer(bool hasDepthBuffer)

Sets whether the [gtk.glarea.GLArea] 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.

Parameters

hasDepthBuffertrue to add a depth buffer