CoglPango.ensure_glyph_cache_for_layout
Description: Reference for CoglPango.ensure_glyph_cache_for_layout

### Function

# CoglPangoensure_glyph_cache_for_layout

since: 13

#### Declaration [src]

    void
    cogl_pango_ensure_glyph_cache_for_layout (
      PangoLayout* layout
    )

#### Description [src]

This updates any internal glyph cache textures as necessary to be able to render the given `layout`.

This api should be used to avoid mid-scene modifications of glyph-cache textures which can lead to undefined rendering results.

Available since: 13

#### Parameters

`layout`

  Type: `PangoLayout`

  A `PangoLayout`.

  The data is owned by the caller of the function.