Additional options possible for a render context

Fields

@:optionaloptionalvsync:Null<Bool>

Whether vertical-sync (VSync) is enabled

@:optionaloptionalversion:Null<String>

@:optionaloptionaltype:Null<RenderContextType>

The type of render context requested

@:optionaloptionalstencil:Null<Bool>

Whether a stencil buffer is enabled

@:optionaloptionalhardware:Null<Bool>

Whether hardware acceleration is allowed

@:optionaloptionaldepth:Null<Bool>

Whether a depth buffer is enabled

@:optionaloptionalcolorDepth:Null<Int>

The color depth of the rendering context in bits

@:optionaloptionalbackground:Null<Int>

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

@:optionaloptionalantialiasing:Null<Int>

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