Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API Frame SetFlattensRenderLayers

Last wiki revision 2023-08-19

Controls whether all subregions are composited into a single render layer. Frame:SetFlattensRenderLayers(flatten)

  • flatten: - If true, enables render layer flattening.
  • When enabled, all descendant textures and fontstrings will be flattened into a single "layer" for rendering. This can be used to prevent a visual effect where unrelated overlapping frames appear to render interleaved with one another.
  • This function only controls an explicit request for render layer flattening. Render layer flattening can also be enabled implicitly through other frame attributes and APIs.

Source

https://warcraft.wiki.gg/wiki/API_Frame_SetFlattensRenderLayers · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.