compositorType

Specifies which compositor is used when rendering a stack.

# Metadata

Platforms: desktop, mobile OS: mac, windows, linux, ios, android Introduced: 5.0 Security:

# Syntax

set the compositorType of stack to compositorType

# Examples

set the compositorType of this stack to "software"

put "none" into tCompositorType set the compositorType of this stack to tCompositorType

# Description

Use the compositorType property to specify which compositor is used when rendering your stack. Setting this property puts LiveCode into acceleratedRendering mode which offers performance benefits, particularly when animating.

>*Note:* Set the compositor properties in a preOpenStack or preOpenCard > handler - they are not persistent (not saved into the stackfile) but do carry through from card to card.

# Tags

# See

- **constant:** empty - **property:** compositorCacheLimit, compositorTileSize, layerMode, acceleratedRendering - **keyword:** string