Skip to main content
Version: Next

ContourStore

Index

Constructors

constructor

Properties

chunkCount

chunkCount: number = 0

numGeneratedVertices

numGeneratedVertices: number[]

progress

progress: number

vertexCount

vertexCount: number = 0

Accessors

hasValidData

  • get hasValidData(): boolean
  • Returns boolean

isComplete

  • get isComplete(): boolean
  • Returns boolean

Methods

addContourData

  • addContourData(indexOffsets: Int32Array, sourceVertices: Float32Array, progress: number): void
  • Parameters

    • indexOffsets: Int32Array
    • sourceVertices: Float32Array
    • progress: number

    Returns void

bindBuffer

  • bindBuffer(index: number): void
  • Parameters

    • index: number

    Returns void

clearData

  • clearData(): void
  • Returns void

setContourData

  • setContourData(indexOffsets: Int32Array, vertexData: Float32Array, progress: number): void
  • Parameters

    • indexOffsets: Int32Array
    • vertexData: Float32Array
    • progress: number

    Returns void