WebGLOptions

external interface WebGLOptions(source)

WebGL options to be passed on to HTMLCanvasElement.getContext(). See WebGLContextAttributes but note the modified defaults for 'alpha', 'stencil', and 'powerPreference'

alpha defaults to false, which can improve performance compared to the standard WebGL default of true. If an application needs to composite Cesium above other HTML elements using alpha-blending, set alpha to true.

Properties

Link copied to clipboard
abstract var alpha: Boolean?
Link copied to clipboard
abstract var antialias: Boolean?
Link copied to clipboard
abstract var depth: Boolean?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract var stencil: Boolean?