Properties
Private #uniforms
#uniforms
: Map<string, Uniform> = ...Protected _visible
_visible: boolean = true
boundingBox
boundingBox: BoundingBox
Protected gl
gl: WebGL2RenderingContext
modelMatrix
modelMatrix: mat4 = ...
Optional name
name?: string
normalMatrix
normalMatrix: mat4 = ...
position
position: vec3 = ...
program
program: WebGLProgram
rotation
rotation: vec3 = ...
shouldUpdate
shouldUpdate: boolean = true
Protected uploadWorldMatrixToGPU
uploadWorldMatrixToGPU: boolean = false
Protected vao
vao: WebGLVertexArrayObject
Protected vertexCount
vertexCount: number
worldMatrix
worldMatrix: mat4 = ...
Static WORLD_MATRIX_UNIFORM_NAME
WORLD_MATRIX_UNIFORM_NAME: string = 'u_worldMatrix'