Properties
Private _isContextLost
_isContextLost: any
Private _onContextCreationError
_onContextCreationError: any
Private _onContextLost
_onContextLost: any
Private _onContextRestore
_onContextRestore: any
attributeBuffers
attributeBuffers: WebGLAttributeBuffers
bindingStates
bindingStates: WebGLBindingStates
Readonly canvas
canvas: HTMLCanvasElement
capabilities
elementBuffers
elementBuffers: WebGLElementBuffers
Readonly extensions
framebuffers
framebuffers: WebGLFramebuffers
Readonly gl
gl: WebGLRenderingContext
Readonly gl2
gl2: WebGL2RenderingContext
info
info: WebGLInfo
Readonly isWebGL2
isWebGL2: boolean
renderParams
renderParams: WebGLRenderParams
renderbuffers
renderbuffers: WebGLRenderbuffers
shaders
shaders: WebGLShaders
textures
textures: WebGLTextures
uniforms
Readonly webGLContext
WEBGL 渲染器
所有渲染都由该渲染器执行。與2D、3D場景無關,屬於更加底層的API。針對每一個 RenderAtomic 渲染數據進行渲染。
3D 渲染請使用 WebGLRenderer3D。