Inheritance WebGLRenderer
Renderer
Module hilo/renderer/WebGLRenderer
Requires
hilo/core/Class, hilo/core/Hilo, hilo/renderer/Renderer, hilo/geom/Matrix
Source
WebGLRenderer.js
WebGLRenderer The WebGLRenderer, all the visual object is drawing on the canvas using WebGL.The stage will create different renderer depend on the canvas and renderType properties, developer need not use this class directly.
Property | Defined | |
---|---|---|
gl:WebGLRenderingContext
The WebGL context of the renderer, readonly.
|
WebGLRenderer | |
static
WebGL context Options
|
WebGLRenderer | |
static
The max num of batch draw, default is 2000.
|
WebGLRenderer | |
static
The num of vertex attributes, readonly.
|
WebGLRenderer |
Method | Defined | |
---|---|---|
WebGLRenderer(properties:Object)
Constructor
|
WebGLRenderer | |
static
is WebGL supported, readonly.
|
WebGLRenderer |