Class BufferData

The buffer data class

Hierarchy

  • BufferData

Constructors

Properties

bufferInfo: BufferInfo
colors: Uint8Array
currentIndices: number = 0
currentVertices: number = 0
indexCapacity: number = 0
indices: Uint16Array
positions: Float32Array
vertexCapacity: number = 0

Methods

  • Parameters

    • gl: WebGL2RenderingContext | WebGLRenderingContext

    Returns void

Generated using TypeDoc