Winter Cardinal UI - v0.457.0 / DynamicSDFFontGenerator
• new DynamicSDFFontGenerator(): DynamicSDFFontGenerator
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:121
• Protected _canvas: null | HTMLCanvasElement
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:107
• Protected _gl: null | WebGLRenderingContext
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:111
• Protected _onLostBound: EventListener
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:108
• Protected _onRestoreBound: EventListener
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:109
• Protected _onUnloadBound: EventListener
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:110
• Protected _samplerUniform: null | WebGLUniformLocation
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:116
• Protected _shaderProgram: null | WebGLProgram
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:113
• Protected _sizeUniform: null | WebGLUniformLocation
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:117
• Protected _texture: null | WebGLTexture
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:112
• Protected _textureCoordAttribute: number
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:115
• Protected _uvb: null | WebGLBuffer
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:119
• Protected _vb: null | WebGLBuffer
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:118
• Protected _vertexPositionAttribute: number
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:114
▪ Static Protected _INSTANCE: null | DynamicSDFFontGenerator = null
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:105
▸ destroy(): void
void
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:398
▸ destroyShaders(): void
void
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:240
▸ destroyTexture(): void
void
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:282
▸ destroyUvBuffer(): void
void
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:330
▸ destroyVertexBuffer(): void
void
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:306
▸ getCanvas(): null | HTMLCanvasElement
null | HTMLCanvasElement
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:178
▸ getShader(gl, code, type): null | WebGLShader
| Name | Type |
|---|---|
gl |
WebGLRenderingContext |
code |
string |
type |
boolean |
null | WebGLShader
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:182
▸ init(): this
this
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:149
▸ makeShaders(): null | WebGLShader
null | WebGLShader
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:198
▸ makeUvBuffer(): null | WebGLBuffer
null | WebGLBuffer
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:316
▸ makeVertexBuffer(): null | WebGLBuffer
null | WebGLBuffer
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:292
▸ read(copyCanvas): void
| Name | Type |
|---|---|
copyCanvas |
HTMLCanvasElement |
void
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:383
▸ render(): void
void
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:340
▸ restore(): void
void
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:174
▸ updateTexture(width, height, source): null | WebGLTexture
| Name | Type |
|---|---|
width |
number |
height |
number |
source |
TexImageSource |
null | WebGLTexture
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:252
▸ getInstance(): DynamicSDFFontGenerator
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-generator.ts:421