Class SglIndexStream
Holds the indexed primitive stream information and storage.
Defined in: gl_mesh.js.
Constructor Attributes | Constructor Name and Description |
---|---|
SglIndexStream(gl, name, primitiveType, indexType, indices)
Constructs a SglIndexStream.
|
Method Attributes | Method Name and Description |
---|---|
bind()
|
|
destroy()
|
|
render()
|
|
renderRange(first, count)
|
|
unbind()
|
Class Detail
SglIndexStream(gl, name, primitiveType, indexType, indices)
Constructs a SglIndexStream.
- Parameters:
- gl
- name
- primitiveType
- indexType
- indices
Method Detail
bind()
destroy()
render()
renderRange(first, count)
- Parameters:
- first
- count
unbind()