Cogl.buffer_set_update_hint

function buffer_set_update_hint(buffer: Cogl.Buffer, hint: Cogl.BufferUpdateHint): void {
    // Gjs wrapper for cogl_buffer_set_update_hint()
}
  

Sets the update hint on a buffer. See Cogl.BufferUpdateHint for a description of the available hints.

Since 1.2

buffer

a buffer object

hint

the new hint