compositorType |
Type | property |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | set the compositorType of <stack> to <compositorType>
|
Associations | stack |
Summary | Specifies which compositor is used when rendering a stack.
|
Introduced | 5.0 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, mobile |
Example | set the compositorType of this stack to "software"
put "none" into tCompositorType
set the compositorType of this stack to tCompositorType
|
Values | Name | Type | Description |
---|
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).
|
|
Related | Constant: 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.
|
Tags | windowing |