The RenderContext provides access to rendering for a Lime Window.

Only one render context type is used at once, but when OPENGL or OPENGLES is the context type, compatibility contexts for other forms of GL (such as WebGL) may be available also.

Variables

read onlyattributes:RenderContextAttributes

Additional information about the current context

read onlycairo:CairoRenderContext

Available on Android, Linux, Mac, Windows, iOS

Access to the current Cairo render context, if available

read onlycanvas2D:Canvas2DRenderContext

Available on HTML5

Access to the current Cairo render context, if available

read onlydom:DOMRenderContext

Available on HTML5

Access to the current HTML5 DOM render context, if available

read onlyflash:FlashRenderContext

Available on Flash

Access to the current Cairo render context, if available

read onlygl:OpenGLRenderContext

Available on Linux, Mac, Windows

Access to the current HTML5 canvas render context, if available

read onlygles2:OpenGLES2RenderContext

Available on Android, iOS

Access to the current HTML5 canvas render context, if available

read onlygles2:OpenGLES2RenderContext

Available on Linux, Mac, Windows

Access to the current OpenGL ES 2.0 render API, if available

read onlygles3:OpenGLES3RenderContext

Available on Android, Linux, Mac, Windows, iOS

Access to the current OpenGL ES 3.0 render API, if available

read onlytype:RenderContextType

Available on Android, Linux, Mac, Windows, iOS

The type of the current RenderContext

read onlytype:RenderContextType

Available on Flash

Access to the current OpenGL render API, if available

read onlytype:RenderContextType

Available on HTML5

Access to the current Flash render context, if available

read onlyversion:String

read onlywebgl:WebGLRenderContext

Available on Android, HTML5, Linux, Mac, Windows, iOS

Access to the current WebGL render API, if available

read onlywebgl2:WebGL2RenderContext

Available on Android, HTML5, Linux, Mac, Windows, iOS

Access to the current WebGL 2 render API, if available

read onlywindow:Window

Access to the current WebGL render API, if available