Cogl.Context.prototype.get_renderer
function get_renderer(): Cogl.Renderer {
// Gjs wrapper for cogl_context_get_renderer()
}
Retrieves the Cogl.Renderer that is internally associated with the given context. This will return the same Cogl.Renderer that was passed to Cogl.Display.new or if null was passed to Cogl.Display.new or Cogl.Context.new then this function returns a pointer to the renderer that was automatically connected internally.
Since 1.16
- Returns
The Cogl.Renderer associated with the given context.