Properties
arrowInstanceData
arrowInstanceData: InstanceData[]
bufferType
bufferType: string
buffers
buffers: Record<string, WebGLBuffer> = {}
buffersSize
buffersSize: Record<string, number> = {}
config
config: BaseMeshConfig
depthMask
depthMask: boolean = true
depthTest
depthTest: boolean = true
drawType
drawType: string = "TRIANGLES"
gl
gl: WebGL2RenderingContext
indices
indices: number[] = []
indicesPointer
indicesPointer: WebGLBuffer
instanceData
instanceData: number[][]
instanceDataBuffers
instanceDataBuffers: Record<string, number> = {}
shaderProgram
shaderProgram: WebGLProgram
shaders
shaders: {
fragment: string;
vertex: string;
}
Type declaration
fragment: string
vertex: string
texture
texture: WebGLTexture
transparent
transparent: boolean = true
uniformData
uniformData: Record<string, {
texture?: WebGLTexture;
type: string;
value: number | number[] | Float32Array;
}> = ...
Type declaration
Optional
texture?: WebGLTexture
type: string
value: number | number[] | Float32Array
uniformLocations
uniformLocations: {} = {}
uniformsNeedUpdate
uniformsNeedUpdate: boolean = true
visible
visible: boolean = true
新的缓存数据