Skip to main content

compositorType

Type​

property

Summary​

Specifies which compositor is used when rendering a stack.

Syntax​

set the compositorType of <stack> to <compositorType>

Description​

Use the compositorType property to specify which compositor is used when rendering your stack. Setting this property puts LiveCode into accelerated rendering 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.

Examples​

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

Value​

NameTypeDescription

value

enum

A string containing the type of compositor to use, or empty.

constant: empty

keyword: string

property: compositorCacheLimit, compositorTileSize, layerMode, acceleratedRendering

Compatibility and Support​

Introduced

LiveCode 5.0

OS

mac

windows

linux

ios

android

Platforms

desktop

mobile

Thank you for your feedback!

Was this page helpful?