API

Function updateHtmlTexture

  • Upload the current pixels of the hosted element into the texture. On the native path this is a single copyElementImageToTexture and must run inside a paint event — normally the internal paint listener calls it; call requestHtmlTextureUpdate to trigger a refresh from application code. When the native API is unavailable it rasterises the SVG fallback (async).

    Parameters

    Returns void