Cogl.Framebuffer.prototype.set_depth_write_enabled
function set_depth_write_enabled(depth_write_enabled: Cogl.Bool): void {
// Gjs wrapper for cogl_framebuffer_set_depth_write_enabled()
}
Enables or disables depth buffer writing when rendering to framebuffer. If depth writing is enabled for both the framebuffer and the rendering pipeline, and the framebuffer has an associated depth buffer, depth information will be written to this buffer during rendering.
Depth buffer writing is enabled by default.
Since 1.18
- depth_write_enabled
true to enable depth writing or false to disable