new BufferMulti(gl, object3D, lightContainer)
Creates buffer and sets up shaders for an object3D
Parameters:
Name | Type | Description |
---|---|---|
gl |
Object | |
object3D |
Ayce.Object3D | |
lightContainer |
Ayce.LightContainer |
- Source:
Methods
render()
Renders buffer
- Source:
renderVR(eye)
Renders VR buffers
Parameters:
Name | Type | Description |
---|---|---|
eye |
String |
- Source:
update(camera)
Updates perspective Matrix
Parameters:
Name | Type | Description |
---|---|---|
camera |
Ayce.Camera |
- Source:
updateVR(camera)
Updates VR perspective Matrices
Parameters:
Name | Type | Description |
---|---|---|
camera |
Ayce.Camera |
- Source: