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

Access to the current Cairo render context, if available

read onlycanvas2D:Canvas2DRenderContext

Access to the current HTML5 canvas render context, if available

read onlydom:DOMRenderContext

Access to the current HTML5 DOM render context, if available

read onlyflash:FlashRenderContext

Access to the current Flash render context, if available

read onlygl:OpenGLRenderContext

Access to the current OpenGL render API, if available

read onlygles2:OpenGLES2RenderContext

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

read onlygles3:OpenGLES3RenderContext

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

read onlytype:RenderContextType

The type of the current RenderContext

read onlyversion:String

read onlywebgl:WebGLRenderContext

Access to the current WebGL render API, if available

read onlywebgl2:WebGL2RenderContext

Access to the current WebGL 2 render API, if available

read onlywindow:Window