Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2ParticleSystemFixedSetAllocator<T>

Type parameters

  • T

Hierarchy

Index

Methods

Allocate

  • Allocate(itemSize: number, count: number): number
  • Parameters

    • itemSize: number
    • count: number

    Returns number

Clear

  • Clear(): void
  • Returns void

GetBuffer

  • GetBuffer(): T[]
  • Returns T[]

GetCount

  • GetCount(): number
  • Returns number

GetValidBuffer

  • GetValidBuffer(): boolean[]
  • Returns boolean[]

Invalidate

  • Invalidate(itemIndex: number): void
  • Parameters

    • itemIndex: number

    Returns void

SetCount

  • SetCount(count: number): void
  • Parameters

    • count: number

    Returns void

Generated using TypeDoc