Logo


search API (or start typing anywhere)


RenderConfig

snow.types.RenderConfig defined in snow.types.Types

Config specific to the rendering context that would be used when creating windows


typedef


 

Members


webgl
webgl : Null<snow.types.RenderConfigWebGL>
WebGL render context specific settings
stencil
stencil : Null<Int>
Request the number of stencil bits for the rendering context. A value of 0 will not request a stencil buffer. default: 0
red_bits
red_bits : Null<Int>
Request a specific number of red bits for the rendering context. Unless you need to change this, don’t. default: 8
opengl
opengl : Null<snow.types.RenderConfigOpenGL>
OpenGL render context specific settings
green_bits
green_bits : Null<Int>
Request a specific number of green bits for the rendering context. Unless you need to change this, don’t. default: 8
depth
depth : Null<Int>
Request the number of depth bits for the rendering context. A value of 0 will not request a depth buffer. default: 0
blue_bits
blue_bits : Null<Int>
Request a specific number of blue bits for the rendering context. Unless you need to change this, don’t. default: 8
antialiasing
antialiasing : Null<Int>
A value of 0, 2, 4, 8 or other valid system value. On WebGL contexts this value is true or false, bigger than 0 being true. On native contexts this value sets the MSAA typically. default webgl: 1 (enabled) default: 0
alpha_bits
alpha_bits : Null<Int>
Request a specific number of alpha bits for the rendering context. Unless you need to change this, don’t. default: 8