Variables
Const ALIGN_CENTER
ALIGN_CENTER: 1 = 1
Const ALIGN_LEFT
ALIGN_LEFT: 0 = 0
Const ALIGN_RIGHT
ALIGN_RIGHT: 2 = 2
Const CAP_HEIGHTS
CAP_HEIGHTS: string[] = ['H', 'I', 'N', 'E', 'F', 'K', 'L', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']
Const CLAMP_TO_EDGE
CLAMP_TO_EDGE: number = 33071
Const COLOR_REPEAT
COLOR_REPEAT: 4 = 4
Const DEPTH_COMPONENT16
DEPTH_COMPONENT16: number = 33189
Const EMPTY_CANVAS_COLOR
EMPTY_CANVAS_COLOR: "#ff0000" = "#ff0000"
Const EMPTY_CANVAS_SIZE
EMPTY_CANVAS_SIZE: 16 = 16
Const FLOAT
FLOAT: number = 5126
Const LINEAR
LINEAR: number = 9729
Const LINEAR_MIPMAP_LINEAR
LINEAR_MIPMAP_LINEAR: number = 9987
Const LINEAR_MIPMAP_NEAREST
LINEAR_MIPMAP_NEAREST: number = 9985
Const M_WIDTHS
M_WIDTHS: string[] = ['m', 'w']
Const NEAREST
NEAREST: number = 9728
Const NEAREST_MIPMAP_LINEAR
NEAREST_MIPMAP_LINEAR: number = 9986
Const NEAREST_MIPMAP_NEAREST
NEAREST_MIPMAP_NEAREST: number = 9984
Const REPEAT
REPEAT: number = 10497
Const RGB
RGB: number = 6407
Const SPACE_ID
SPACE_ID: number = ' '.charCodeAt(0)
Const TAB_ID
TAB_ID: number = '\t'.charCodeAt(0)
Const UNIFORM_1F
UNIFORM_1F: "1f" = "1f"
Const UNIFORM_1I
UNIFORM_1I: "1i" = "1i"
Const UNIFORM_2F
UNIFORM_2F: "2f" = "2f"
Const UNIFORM_3F
UNIFORM_3F: "3f" = "3f"
Const UNIFORM_MAT_4F
UNIFORM_MAT_4F: "mat4" = "mat4"
Const UNSIGNED_BYTE
UNSIGNED_BYTE: number = 5121
Const X_HEIGHTS
X_HEIGHTS: string[] = ['x', 'e', 'a', 'o', 'n', 's', 'r', 'c', 'u', 'm', 'v', 'w', 'z']
Const fillFragShader
fillFragShader: "precision highp float;varying vec2 vUv;void main(){gl_FragColor = vec4(vUv, 0.0, 1.0);}" = `precision highp float;varying vec2 vUv;void main(){gl_FragColor = vec4(vUv, 0.0, 1.0);}`
Const fullscreenVertShader
fullscreenVertShader: "precision highp float;attribute vec3 position;uniform vec2 px;varying vec2 vUv;void main(){vUv = vec2(0.5)+(position.xy)*0.5;gl_Position = vec4(position, 1.0);}" = `precision highp float;attribute vec3 position;uniform vec2 px;varying vec2 vUv;void main(){vUv = vec2(0.5)+(position.xy)*0.5;gl_Position = vec4(position, 1.0);}`
Const newline
newline: RegExp = /\n/
Const newlineChar
newlineChar: "" = ""
Const texFragShader
texFragShader: "precision highp float;uniform sampler2D uTexture;varying vec2 vUv;void main(){vec4 texColor = texture2D(uTexture, vUv);gl_FragColor = texColor;}" = `precision highp float;uniform sampler2D uTexture;varying vec2 vUv;void main(){vec4 texColor = texture2D(uTexture, vUv);gl_FragColor = texColor;}`
Const whitespace
whitespace: RegExp = /\s/