WebGLLayer 系统

一组处理webgl上下文的方法集合。

属性

方法

Back to top

.context

这将返回webgl canvas元素的上下文。

Back to top

.attach()

public .attach(ent)
ent

要添加的实体

添加实体到此层

Back to top

.detach()

public .detach(ent)
ent

要移除的实体

从此层移除一个实体

Back to top

.dirty()

public .dirty(ent)
ent

将实体标记为过期

添加一个实体到DOM对象的绘制列表