Class SglFlatStream
Represents a range (non indexed) primitive stream.
Defined in: gl_mesh.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
SglFlatStream(gl, name, primitiveType, first, count)
Constructs a SglFlatStream.
|
| Method Attributes | Method Name and Description |
|---|---|
|
bind()
|
|
|
destroy()
|
|
|
render()
|
|
|
renderRange(first, count)
|
|
|
unbind()
|
Class Detail
SglFlatStream(gl, name, primitiveType, first, count)
Constructs a SglFlatStream.
- Parameters:
- gl
- name
- primitiveType
- first
- count
Method Detail
bind()
destroy()
render()
renderRange(first, count)
- Parameters:
- first
- count
unbind()