Appearance
KBE3D / KBCore / Cesium / WebGLOptions
接口: WebGLOptions
WebGL options to be passed on to HTMLCanvasElement.getContext(). See WebGLContextAttributes but note the modified defaults for 'alpha', 'stencil', and 'powerPreference'
<p> <code>alpha</code> 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 <code>alpha</code> to true. </p>
属性
alpha?
optionalalpha:boolean
depth?
optionaldepth:boolean
stencil?
optionalstencil:boolean
antialias?
optionalantialias:boolean
premultipliedAlpha?
optionalpremultipliedAlpha:boolean
preserveDrawingBuffer?
optionalpreserveDrawingBuffer:boolean
powerPreference?
optionalpowerPreference:"default"|"low-power"|"high-performance"
failIfMajorPerformanceCaveat?
optionalfailIfMajorPerformanceCaveat:boolean
