omega-game-engine
Preparing search index...
core/camera-ubo
CameraUBO
Class CameraUBO
Index
Constructors
constructor
Properties
BINDING_
POINT
Methods
update
Constructors
constructor
new
CameraUBO
(
gl
:
WebGL2RenderingContext
)
:
CameraUBO
Parameters
gl
:
WebGL2RenderingContext
Returns
CameraUBO
Properties
Readonly
BINDING_
POINT
BINDING_POINT
:
0
Methods
update
update
(
viewMatrix
:
mat4
,
projectionMatrix
:
mat4
)
:
void
Call this EXACTLY ONCE per frame in your main render loop.
Parameters
viewMatrix
:
mat4
projectionMatrix
:
mat4
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
BINDING_
POINT
Methods
update
omega-game-engine
Loading...
Call this EXACTLY ONCE per frame in your main render loop.