Additional options possible for a render context

Properties

antialiasing:Null<Int>

Whether to enable anti-aliasing, 0 is disabled, 2 enables 2x2 anti-aliasing or 4 enables 4x4 anti-aliasing.

background:Null<Int>

An optional background property to be provided to rendering, a value of null means no background color.

colorDepth:Null<Int>

The color depth of the rendering context in bits

depth:Null<Bool>

Whether a depth buffer is enabled

hardware:Null<Bool>

Whether hardware acceleration is allowed

stencil:Null<Bool>

Whether a stencil buffer is enabled

type:Null<RenderContextType>

The type of render context requested

version:Null<String>

vsync:Null<Bool>

Whether vertical-sync (VSync) is enabled