Class SpiderGL.Model.Model
The SpiderGL.Model.Model represents a complex geometric model.
- Defined in: model.js
- Extends SpiderGL.Core.ObjectBase
Constructor Attributes | Constructor Name and Description |
---|---|
SpiderGL.Model.Model(gl, descriptor, options)
Creates a SpiderGL.Model.Model.
|
- Fields borrowed from class SpiderGL.Core.ObjectBase:
- uid
Class Detail
SpiderGL.Model.Model(gl, descriptor, options)
Creates a SpiderGL.Model.Model.
A SpiderGL.Model.Model is a layered data structure that represents a geometric model.
Through the model descriptor, it provides the elements needed to form a 3D model, e.g. raw data, semantic bindings, logical sub-structures, and higher level information.
Bottom to top, each layer in the stack relies at most on the previous one. While layer flexibility decreases bottom to top, their expressiveness increases.
- Parameters:
- gl
- descriptor
- options
Method Detail
-
destroyGL()
-
updateGL(gl, options)
- Parameters:
- gl
- options
-
updateRenderData()
-
updateTypedArrays()