Appearance
KBE3D / KBCore / Cesium / ContextOptions
接口: ContextOptions
Options to control the setting up of a WebGL Context. <p> <code>allowTextureFilterAnisotropic</code> defaults to true, which enables anisotropic texture filtering when the WebGL extension is supported. Setting this to false will improve performance, but hurt visual quality, especially for horizon views. </p>
属性
requestWebgl1?
optionalrequestWebgl1:boolean
If true and the browser supports it, use a WebGL 1 rendering context
allowTextureFilterAnisotropic?
optionalallowTextureFilterAnisotropic:boolean
If true, use anisotropic filtering during texture sampling
webgl?
optionalwebgl:WebGLOptions
WebGL options to be passed on to canvas.getContext
getWebGLStub()?
optionalgetWebGLStub: (...params:any[]) =>any
A function to create a WebGL stub for testing
参数
params
...any[]
返回
any
