Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "attrib-pool"

Index

Functions

Const ensureAttrib

  • ensureAttrib(spec: AttribSpec, id: string, isNum: boolean): void

Const ensureSpec

Const ensureValueSize

  • ensureValueSize(v: ReadonlyVec, size: number): void

Const moveAttribs

  • moveAttribs(order: string[], specs: IObjectOf<AttribSpec>, attribs: IObjectOf<TypedArray>, newAttribs: IObjectOf<[TypedArray, number]>, i: number, sameBlock: boolean, grow: boolean): void

Const resizeAttribs

  • resizeAttribs(specs: IObjectOf<AttribSpec>, buf: ArrayBuffer, dest: number, stride: number, num: number): IObjectOf<[Float32Array | Float64Array | Int8Array | Int16Array | Int32Array | Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array, number]>
  • Parameters

    • specs: IObjectOf<AttribSpec>
    • buf: ArrayBuffer
    • dest: number
    • stride: number
    • num: number

    Returns IObjectOf<[Float32Array | Float64Array | Int8Array | Int16Array | Int32Array | Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array, number]>

Generated using TypeDoc