Method

GtkGLAreaset_has_depth_buffer

since: 3.16

Declaration [src]

void
gtk_gl_area_set_has_depth_buffer (
  GtkGLArea* area,
  gboolean has_depth_buffer
)

Description [src]

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

Available since: 3.16

Parameters

has_depth_buffer

Type: gboolean

TRUE to add a depth buffer.