Cogl.Texture.prototype.get_width

function get_width(): Number(guint) {
    // Gjs wrapper for cogl_texture_get_width()
}
  

Queries the width of a cogl texture.

Returns

the width of the GPU side texture in pixels