compositorType

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the compositorType of <stack> to <compositorType>
Associationsstack
Summary

Specifies which compositor is used when rendering a stack.

Introduced5.0
OSmac, windows, linux, ios, android
Platformsdesktop, mobile
Example
set the compositorType of this stack to "software"
put "none" into tCompositorType
set the compositorType of this stack to tCompositorType
Values
NameTypeDescription
Value

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

none: Do not use (the default when empty).
software: Use the built-in rendering engine to composite (all platforms).
coregraphics: Use CoreGraphics to composite (Mac / iOS only) (Recommended).
opengl: Use OpenGL to composite (iOS and Android only).
RelatedConstant: empty
Property: compositorCacheLimit, compositorTileSize, layerMode, acceleratedRendering
Keyword: string
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.

Tagswindowing