Properties
bufferType
bufferType: string
buffers
buffers: Record<string, WebGLBuffer> = {}
buffersSize
buffersSize: Record<string, number> = {}
config
config: BaseMeshConfig
depthMask
depthMask: boolean = true
depthTest
depthTest: boolean = true
gl
gl: WebGL2RenderingContext
indices
indices: number[] = []
indicesPointer
indicesPointer: WebGLBuffer
linePoint
linePoint: LinePoint
shaderProgram
shaderProgram: WebGLProgram
shaders
shaders: { 
    fragment: string; 
    vertex: string; 
}
Type declaration
- fragment: string
- vertex: string
texture
texture: WebGLTexture
transparent
transparent: boolean = true
type
type: string = "RoundLine"
uniformData
uniformData: Record<string, { 
    texture?: WebGLTexture; 
    type: string; 
    value: number | number[] | Float32Array; 
}> = ...
Type declaration
- Optionaltexture?: WebGLTexture
- type: string
- value: number | number[] | Float32Array
uniformLocations
uniformLocations: {} = {}
uniformsNeedUpdate
uniformsNeedUpdate: boolean = true
visible
visible: boolean = true
Base 基类方便继承以实现其他类型的情况