Package: gtk

Accessor gtk:gl-area-has-depth-buffer

Lambda List

gtk:gl-area-has-depth-buffer (object)

Syntax

(gtk:gl-area-has-depth-buffer object) => setting
(setf (gtk:gl-area-has-depth-buffer object) setting)

Arguments

object -- a gtk:gl-area widget
setting -- a boolean whether the widget will allocate and enable a depth buffer

Details

Accessor of the has-depth-buffer slot of the gtk:gl-area class. The gtk:gl-area-has-depth-buffer function returns whether the area has a depth buffer. The (setf gtk:gl-area-has-depth-buffer) function sets the property.

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

See also

2024-10-26